git: Fix null dereference bug in fuse and re-enable it.
Tomohiro Kusumi
kusumi.tomohiro at gmail.com
Wed Mar 13 14:34:30 PDT 2024
What does potential NULL deref have anything to do with re-enabling ?
Please re-disable.
There are reasons to not enable FUSE in our build.
See bd699eeae3b.
2024年3月13日(水) 13:30 Matthew Dillon <dillon at crater.dragonflybsd.org>:
>
>
> commit df8dfe6e4994f81f7a8a3cf7c5fbdce4451ac41b
> Author: Kyle Butt <kyle at iteratee.net>
> Date: Wed Mar 13 14:04:32 2024 -0600
>
> Fix null dereference bug in fuse and re-enable it.
>
> There was a null dereference bug in fuse if the subtype was null.
> subtype is supposed to be optional, as demonstrated by the code, so test
> it for null before copying it in from userspace.
>
> Remove the redundant memcpy which appears to have been missed when the
> code was changed to memset/copyinstr.
>
> Summary of changes:
> sys/vfs/Makefile | 2 +-
> sys/vfs/fuse/fuse_vfsops.c | 15 ++++++++-------
> 2 files changed, 9 insertions(+), 8 deletions(-)
>
> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/df8dfe6e4994f81f7a8a3cf7c5fbdce4451ac41b
>
>
> --
> DragonFly BSD source repository
More information about the Commits
mailing list