summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-10-29 13:20:44 +0000
committerjsing <jsing@openbsd.org>2015-10-29 13:20:44 +0000
commit3de3b7a0000d5e40adfff5a10ca059be9df36036 (patch)
tree282f68ae71455e50418b169ff66a0221408fdd85 /usr.sbin/cron/crontab.c
parentremove tests for LD_HINTS_VERSION_1; ok kettenis (diff)
downloadwireguard-openbsd-3de3b7a0000d5e40adfff5a10ca059be9df36036.tar.xz
wireguard-openbsd-3de3b7a0000d5e40adfff5a10ca059be9df36036.zip
In knote(), use SLIST_FOREACH_SAFE when walking the klist since a call to
an f_event() handler may remove an entry. Currently knote_processexit() calls knote() with NOTE_EXIT, knote() walks the list and calls f_event(), one of these happens to be filt_proc(), which happily SLIST_REMOVEs the NOTE_EXIT note from the same list that knote() is currently walking, then we get back to knote() and go boom... Flushed out by bluhm@'s invalidation change to sys/queue.h and found the hard way by naddy@. ok doug@ nicm@ tedu@
Diffstat (limited to 'usr.sbin/cron/crontab.c')
0 files changed, 0 insertions, 0 deletions