MFC a forgotten fix
Make sure that there actually is a next packet before setting nextrecord to that field. PR: 83885 Submitted by: hirose@comm.yamaha.co.jp
This commit is contained in:
parent
5086a51b85
commit
1b59068b4f
@ -1169,7 +1169,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