Check return value of m_pullup() in firewire_input().
CID: 2105 Found with: Coverity Prevent(tm)
This commit is contained in:
parent
a7e2f06359
commit
4ce71ef718
@ -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 *);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user