Bug 205828 - [patch] bsdinstall(8): partedit crashes when modifying a zfs partition's mountpoint
Summary: [patch] bsdinstall(8): partedit crashes when modifying a zfs partition's moun...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL: https://reviews.freebsd.org/D14574
Keywords: install, patch
Depends on:
Blocks:
 
Reported: 2016-01-03 11:04 UTC by will
Modified: 2022-10-13 17:47 UTC (History)
1 user (show)

See Also:


Attachments
fix partedit crash when setting mountpoint on zfs partition (1.14 KB, patch)
2016-01-03 11:04 UTC, will
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description will 2016-01-03 11:04:42 UTC
Created attachment 164989 [details]
fix partedit crash when setting mountpoint on zfs partition

When modifying a ZFS partition to change the mountpoint (or pool name, really), zpool_name isn't set, causing partedit to crash.

Also removed a useless NULL check.

Tested on FreeBSD 10.2-STABLE on amd64.
Comment 1 will 2018-03-03 08:48:20 UTC
https://reviews.freebsd.org/D14574