Fix for PR 83885.
Make sure that there actually is a next packet before setting nextrecord to that field. PR: 83885 Submitted by: hirose@comm.yamaha.co.jp Obtained from: Patch suggested in the PR MFC after: 1 week
This commit is contained in:
parent
f298f4eae6
commit
4504989c4b
@ -1162,7 +1162,10 @@ dontblock:
|
||||
}
|
||||
cm = cmn;
|
||||
}
|
||||
nextrecord = so->so_rcv.sb_mb->m_nextpkt;
|
||||
if (so->so_rcv.sb_mb)
|
||||
nextrecord = so->so_rcv.sb_mb->m_nextpkt;
|
||||
else
|
||||
nextrecord = NULL;
|
||||
orig_resid = 0;
|
||||
}
|
||||
if (m != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user