Bug 205828

Summary: [patch] bsdinstall(8): partedit crashes when modifying a zfs partition's mountpoint
Product: Base System Reporter: will
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: lwhsu
Priority: --- Keywords: patch
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D14574
Attachments:
Description Flags
fix partedit crash when setting mountpoint on zfs partition none

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