git: sys/vfs/hammer2: Fix broken mount_hammer2(8) -u option

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 7 08:53:20 PDT 2020


commit 9273fb4f5304e67c59d6aa1fd04e26ef22cb4c20
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Thu Oct 8 01:42:57 2020 +0900

    sys/vfs/hammer2: Fix broken mount_hammer2(8) -u option
    
    It fails with EFAULT when copyin-ing NULL volume string.

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 74 +++++++++++++++++++++-------------------
 1 file changed, 38 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9273fb4f5304e67c59d6aa1fd04e26ef22cb4c20


-- 
DragonFly BSD source repository


More information about the Commits mailing list