[Bug 239797] zfs promote corrupted df/mount output of device names of UFS filesystems

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 13 10:20:48 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239797

martin at lispworks.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin at lispworks.com

--- Comment #1 from martin at lispworks.com ---
The code leading up to
https://svnweb.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c?view=markup#l3128
looks suspicious to me.  Unless I'm misreading it, oldname is allocated but
never filled with a name, so if the first byte is null then it will rename all
mounts whose f_mntfromname starts with /.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list