Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148614906
D26474.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D26474.diff
View Options
Index: sys/netinet6/ip6_forward.c
===================================================================
--- sys/netinet6/ip6_forward.c
+++ sys/netinet6/ip6_forward.c
@@ -268,8 +268,9 @@
* type/code is based on suggestion by Rich Draves.
* not sure if it is the best pick.
*/
- icmp6_error(mcopy, ICMP6_DST_UNREACH,
- ICMP6_DST_UNREACH_ADDR, 0);
+ if (mcopy)
+ icmp6_error(mcopy, ICMP6_DST_UNREACH,
+ ICMP6_DST_UNREACH_ADDR, 0);
goto bad;
}
type = ND_REDIRECT;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 20, 3:58 AM (14 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29996872
Default Alt Text
D26474.diff (505 B)
Attached To
Mode
D26474: Fix potential a dereference of a null value
Attached
Detach File
Event Timeline
Log In to Comment