diff options
author | Damien Miller <djm@mindrot.org> | 2007-10-26 16:42:18 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2007-10-26 16:42:18 +1000 |
commit | 9aeef6b50d23a9f430b65c6f3454d14db0083832 (patch) | |
tree | b7b6329c494dce38437f019db2a846787b3a0ea2 /compat.h | |
parent | d129ecb0f98ea6e7e83f2a0a8914d3f99d5184c9 (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 'compat.h')
0 files changed, 0 insertions, 0 deletions