CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/09/15 13:29:28
Modified files:
sys/kern : uipc_socket.c
Log message:
Coverity complains that top == NULL was checked and further down
top->m_pkthdr.len was accessed without check. See CID 1452933.
In fact top cannot be NULL there and the condition was always false.
m_getuio() did never reserve space for the header. The correct
check is m == top to find the first mbuf.
OK visa@
