git: DragonFly_RELEASE_5_8 kernel - Fix uninitialized variable in kqueue_register()
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Nov 4 14:06:42 PST 2020
commit 4717ef3ff06c4097c257bb505ebe6781db8929ed
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Nov 4 13:34:09 2020 -0800
kernel - Fix uninitialized variable in kqueue_register()
* Fix another uninitialized variable that gcc didn't detect,
this time in kqueue_register().
* Caused kernel compiled with -O0 to not operate properly.
* Initializing the error variable to 0 solves the problem.
Reported-by: zrj
Summary of changes:
sys/kern/kern_event.c | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4717ef3ff06c4097c257bb505ebe6781db8929ed
--
DragonFly BSD source repository
More information about the Commits
mailing list