summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-poll.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-10-26 16:42:18 +1000
committerDamien Miller <djm@mindrot.org>2007-10-26 16:42:18 +1000
commit9aeef6b50d23a9f430b65c6f3454d14db0083832 (patch)
treeb7b6329c494dce38437f019db2a846787b3a0ea2 /openbsd-compat/bsd-poll.c
parentd129ecb0f98ea6e7e83f2a0a8914d3f99d5184c9 (diff)
- otto@cvs.openbsd.org 2005/10/17 20:19:42
[openbsd-compat/sys-queue.h] Performing certain operations on queue.h data structurs produced funny results. An example is calling LIST_REMOVE on the same element twice. This will not fail, but result in a data structure referencing who knows what. Prevent these accidents by NULLing some fields on remove and replace. This way, either a panic or segfault will be produced on the faulty operation.
Diffstat (limited to 'openbsd-compat/bsd-poll.c')
0 files changed, 0 insertions, 0 deletions