Most fget*() functions initialize the output parameter to NULL. Make them
all behave consistently. This fixes at least one bug in a consumer,
_filemon_wrapper_openat().
Reported by: syzbot+01c0459408f896a5933a@syzkaller.appspotmail.com
Differential D34190
file: Make fget*() and getvnode*() consistent about initializing *fpp markj on Feb 7 2022, 3:19 PM. Authored by Tags None Referenced Files
Subscribers
Details Most fget*() functions initialize the output parameter to NULL. Make them Reported by: syzbot+01c0459408f896a5933a@syzkaller.appspotmail.com
Diff Detail
Event Timeline
Comment Actions
Comment Actions I see I'm late. Just a remark that this nullifying is pretty weird and thing to do instead is to set the pointer to a poisoned value when running with invariants, while patching all the consumers to not look at it if an error was returned. Maybe I'll get around to it. |