summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2012-01-03 21:50:13 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2012-01-03 21:50:13 +0000
commit8390485057fcecbd0fa623e72550abc20f2293e8 (patch)
treeafe3a60af06a68141255e965c682e14c356b4d0f /sys/lib
parente39023b406cea442edbed144144f59e7e6e879c3 (diff)
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 'sys/lib')
0 files changed, 0 insertions, 0 deletions