Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175510993
D25887.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
D25887.id.diff
View Options
Index: head/sys/netinet6/ip6_output.c
===================================================================
--- head/sys/netinet6/ip6_output.c
+++ head/sys/netinet6/ip6_output.c
@@ -761,6 +761,10 @@
IN6_IS_ADDR_MC_NODELOCAL(&dst_sa.sin6_addr)) {
if (scopeid > 0) {
ifp = in6_getlinkifnet(scopeid);
+ if (ifp == NULL) {
+ error = EHOSTUNREACH;
+ goto bad;
+ }
*dst = dst_sa; /* XXX */
goto nonh6lookup;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 12, 8:39 AM (12 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40664733
Default Alt Text
D25887.id.diff (446 B)
Attached To
Mode
D25887: ip6_output(): Check the return value of in6_getlinkifnet().
Attached
Detach File
Event Timeline
Log In to Comment