Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106115212
D22557.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
457 B
Referenced Files
None
Subscribers
None
D22557.diff
View Options
Index: head/sys/netipsec/xform_esp.c
===================================================================
--- head/sys/netipsec/xform_esp.c
+++ head/sys/netipsec/xform_esp.c
@@ -614,6 +614,13 @@
}
}
+ /*
+ * RFC4303 2.6:
+ * Silently drop packet if next header field is IPPROTO_NONE.
+ */
+ if (lastthree[2] == IPPROTO_NONE)
+ goto bad;
+
/* Trim the mbuf chain to remove trailing authenticator and padding */
m_adj(m, -(lastthree[1] + 2));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 3:42 PM (11 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15605774
Default Alt Text
D22557.diff (457 B)
Attached To
Mode
D22557: Add ESP dummy frames support
Attached
Detach File
Event Timeline
Log In to Comment