Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150072118
D54581.1791605467.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
342 B
Referenced Files
None
Subscribers
None
D54581.1791605467.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D54581: netinet: Drop zero-length mbufs in rip_send() to prevent kernel panic
Attached
Detach File
Event Timeline
Log In to Comment