Initialize buffer for case of empty string. Happens only on non-refactored
platforms.
This commit is contained in:
parent
a672b2d669
commit
4f9dee93a3
@ -235,6 +235,7 @@ sysctl_kern_eventtimer_choice(SYSCTL_HANDLER_ARGS)
|
||||
|
||||
spc = "";
|
||||
error = 0;
|
||||
buf[0] = 0;
|
||||
off = 0;
|
||||
ET_LOCK();
|
||||
SLIST_FOREACH(et, &eventtimers, et_all) {
|
||||
|
Loading…
Reference in New Issue
Block a user