Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144961527
D19967.id56391.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
363 B
Referenced Files
None
Subscribers
None
D19967.id56391.diff
View Options
Index: head/sys/netinet6/raw_ip6.c
===================================================================
--- head/sys/netinet6/raw_ip6.c
+++ head/sys/netinet6/raw_ip6.c
@@ -495,7 +495,7 @@
off = offsetof(struct icmp6_hdr, icmp6_cksum);
else
off = in6p->in6p_cksum;
- if (plen < off + 1) {
+ if (plen < off + 2) {
error = EINVAL;
goto bad;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 15, 12:59 PM (15 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28741945
Default Alt Text
D19967.id56391.diff (363 B)
Attached To
Mode
D19967: Don't overwrite buffer when computing checksum via IPV6_CHECKSUM
Attached
Detach File
Event Timeline
Log In to Comment