summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/os/unix/ngx_setproctitle.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2012-01-03 21:50:12 +0000
committerbluhm <bluhm@openbsd.org>2012-01-03 21:50:12 +0000
commitc8324d5260d2dbab9c23b8c34b78f60d89de499e (patch)
tree1ba1491c97bc4ddc77bad78bc6a485581c504eac /usr.sbin/nginx/src/os/unix/ngx_setproctitle.c
parentInstead of having two functions pf_free_fragment() and pf_remove_fragment() (diff)
downloadwireguard-openbsd-c8324d5260d2dbab9c23b8c34b78f60d89de499e.tar.xz
wireguard-openbsd-c8324d5260d2dbab9c23b8c34b78f60d89de499e.zip
When used with socket splicing, tcp_usrreq() might get called with
a socket that has an inp but tp is NULL. The call stack for that is tcp_input() tcp_close() soisdisconnected() sorwakeup() somove() tcp_usrreq(PRU_RCVD). To avoid a NULL dereference, just return in that case. ok henning@
Diffstat (limited to 'usr.sbin/nginx/src/os/unix/ngx_setproctitle.c')
0 files changed, 0 insertions, 0 deletions