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:
parent
a7e2f06359
commit
4ce71ef718
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169735
@ -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