summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-01-25 14:47:35 +0000
committermpi <mpi@openbsd.org>2018-01-25 14:47:35 +0000
commitc05fa6e051dd392d2aa073c1b05cc39dc361ab57 (patch)
tree95382ca6f24c2fab98b9b291a3ccbea5b8f7a0b2 /lib/libc/stdlib/malloc.c
parentUse a new LDFLAGS variable to pass "-melf_i386_obsd" on amd64. (diff)
downloadwireguard-openbsd-c05fa6e051dd392d2aa073c1b05cc39dc361ab57.tar.xz
wireguard-openbsd-c05fa6e051dd392d2aa073c1b05cc39dc361ab57.zip
Use a workaround for detached parent in carp_proto_input_c().
A NULL dereference can happen since processing protocol layer is deffered to a second task. In other words the NET_LOCK() is released then regrabbed between ip_input() and carp_proto_input(). The same workaround is already in use in carp_output() due to deffered processing in case of IPsec. The real fix is to make carp(4) MP-safe and use if_get(9) there, any taker? Found & fix tested by Hrvoje Popovski.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions