diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-04-21 01:35:28 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-04-21 01:35:28 +0000 |
commit | 58d7e817ef428a8856f1c3cc7f83754e81acab83 (patch) | |
tree | 3a50dcb6fcb46328dc4902d7c0186f6ec625bfe7 /sbin | |
parent | a8a64274d297f807b30b953044aba7a5470a9056 (diff) |
back out my last commit.
art pointed out that timeout_set is the initializer of timeout structs.
this means that the ONQUEUE flag could be set when timeout_set is given
freshly allocated memory. my commit suddenly introduced the requirement
that you bzero a timeout before initialising it. without the bzero we
could generate false positives about the timeout being already queued.
art did produce a diff that would walk the queues when the flag was set
to see if it really was in the lists, but deraadt considers this too much
of a hit.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions