diff options
author | 2011-01-10 18:57:59 +0000 | |
---|---|---|
committer | 2011-01-10 18:57:59 +0000 | |
commit | 0b25aa5597b3a81b7245dd7325abc60f09fe444f (patch) | |
tree | e69cd2ffe2ee597d7d4943f8b4dc0e60d46593f1 /sys/lib/libkern/explicit_bzero.c | |
parent | regen (diff) | |
download | wireguard-openbsd-0b25aa5597b3a81b7245dd7325abc60f09fe444f.tar.xz wireguard-openbsd-0b25aa5597b3a81b7245dd7325abc60f09fe444f.zip |
If pf_test() was called recursively, the global variable pf_hdrs
could be used multiple times for different packets. This happened
when pflow(4) was used. Instead of a global variable, store the
pf_headers in a local variable on the stack.
david@ found the bug, narrowed it down and tested the fix.
ok henning@
Diffstat (limited to 'sys/lib/libkern/explicit_bzero.c')
0 files changed, 0 insertions, 0 deletions