summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-load-buffer.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-06-13 20:52:36 +0000
committerbluhm <bluhm@openbsd.org>2019-06-13 20:52:36 +0000
commit0fe0bd9326e05a05c0f55e030d7af496a0f8fe52 (patch)
treecfd758841e7eb185acedd46a1c8de3d2b2d00b65 /usr.bin/tmux/cmd-load-buffer.c
parentDo memory size calculations as unsigned long. Otherwise (diff)
downloadwireguard-openbsd-0fe0bd9326e05a05c0f55e030d7af496a0f8fe52.tar.xz
wireguard-openbsd-0fe0bd9326e05a05c0f55e030d7af496a0f8fe52.zip
When tcp_close() is running in parallel with fill_file(), the kernel
could crash due to missing inp_ppcb. This happend when fstat(1) was called often and TCP was aborted with reset. Protect the sysctl path with the net lock. OK mpi@
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
0 files changed, 0 insertions, 0 deletions