1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-07 13:14:51 +00:00

Check return value of m_pullup() in firewire_input().

CID:		2105
Found with:	Coverity Prevent(tm)
This commit is contained in:
Robert Watson 2007-05-19 05:29:05 +00:00
parent a7e2f06359
commit 4ce71ef718
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169735

View File

@ -517,6 +517,8 @@ firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src)
}
m = m_pullup(m, sizeof(uint32_t));
if (m == NULL)
return;
enc = mtod(m, union fw_encap *);
/*