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

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 *);
/*