Page MenuHomeFreeBSD

D54581.1791605467.diff
No OneTemporary

Size
342 B
Referenced Files
None
Subscribers
None

D54581.1791605467.diff

diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -557,6 +557,7 @@
*/
if ((hlen < sizeof (*ip))
|| ((hlen > sizeof (*ip)) && inp->inp_options)
+ || (m->m_pkthdr.len == 0)
|| (ntohs(ip->ip_len) != m->m_pkthdr.len)) {
INP_RUNLOCK(inp);
m_freem(m);

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 10, 4:11 AM (1 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30276339
Default Alt Text
D54581.1791605467.diff (342 B)

Event Timeline