Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160491075
D33473.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
567 B
Referenced Files
None
Subscribers
None
D33473.id.diff
View Options
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -491,7 +491,6 @@
break;
}
}
- m_freem(m);
if (appends == 0) {
/*
@@ -505,6 +504,7 @@
else
UDPSTAT_INC(udps_noportbcast);
}
+ m_freem(m);
return (IPPROTO_DONE);
}
@@ -637,7 +637,7 @@
if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) ||
in_broadcast(ip->ip_dst, ifp))
- return (udp_multi_input(m, proto, udp_in));
+ return (udp_multi_input(m, proto, udp_in));
pcbinfo = udp_get_inpcbinfo(proto);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 26, 1:48 AM (2 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34335974
Default Alt Text
D33473.id.diff (567 B)
Attached To
Mode
D33473: udp: Fix a use-after-free in udp_multi_input()
Attached
Detach File
Event Timeline
Log In to Comment