diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2000-12-15 21:06:55 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2000-12-15 21:06:55 +0000 |
commit | e9d51c0803304de86917105a749c982aa3159aa2 (patch) | |
tree | b2cb0f1e81452c071d164d341e3d7d816aa46e3f /sys/netinet/udp_usrreq.c | |
parent | 656396e81a09897de7bc5b03a489970469295171 (diff) | |
download | FreeBSD-src-e9d51c0803304de86917105a749c982aa3159aa2.zip FreeBSD-src-e9d51c0803304de86917105a749c982aa3159aa2.tar.gz |
Make sure to check if MGET(HDR) returned NULL, even when called with M_WAIT.
This fixes the possibility of a NULL pointer dereference in the case where
there are no mbufs or mbuf clusters left.
Approved by: phk
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
0 files changed, 0 insertions, 0 deletions