Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148098116
D20742.id59007.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
371 B
Referenced Files
None
Subscribers
None
D20742.id59007.diff
View Options
Index: head/sys/netipsec/key.c
===================================================================
--- head/sys/netipsec/key.c
+++ head/sys/netipsec/key.c
@@ -7164,7 +7164,7 @@
return key_senderror(so, m, ENOBUFS);
MGETHDR(n, M_NOWAIT, MT_DATA);
- if (len > MHLEN) {
+ if (n != NULL && len > MHLEN) {
if (!(MCLGET(n, M_NOWAIT))) {
m_freem(n);
n = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 6:15 PM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29742064
Default Alt Text
D20742.id59007.diff (371 B)
Attached To
Mode
D20742: netipsec key_register: check for M_NOWAIT alloc failure
Attached
Detach File
Event Timeline
Log In to Comment