summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-03-27 14:45:21 +0000
committerart <art@openbsd.org>2001-03-27 14:45:21 +0000
commitd39908937302dd48dd6741c0ce06f28d120447f7 (patch)
tree7110433f4534b8d02aaaec84677477085dedf713 /lib
parentsome older systems use NID_md5 instead of NID_sha1 for RSASSA-PKCS1-v1_5 (diff)
downloadwireguard-openbsd-d39908937302dd48dd6741c0ce06f28d120447f7.tar.xz
wireguard-openbsd-d39908937302dd48dd6741c0ce06f28d120447f7.zip
Fix a problem with how TDB timeouts were used in pfkeyv2.
When we allocated a tdb we did a timeout_add before a timeout_set. This was a problem in itself, but it shouldn't hurt too much. What did hurt was that we did a timeout_set after the timeout_add, timeout_set marked the timeout as not being on the timeout list and if we did a timeout_del (or timeout_add) later (before the timeout fired) we ended up with a chunk of freed memory on the timeout queue or maybe even dangling pointers (or a circular list). This should probably cure the timeout queue corruption some people were seeing lately.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions