Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131857265
D20742.id58954.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
356 B
Referenced Files
None
Subscribers
None
D20742.id58954.diff
View Options
Index: sys/netipsec/key.c
===================================================================
--- sys/netipsec/key.c
+++ 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
Sun, Oct 12, 6:10 PM (7 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23634692
Default Alt Text
D20742.id58954.diff (356 B)
Attached To
Mode
D20742: netipsec key_register: check for M_NOWAIT alloc failure
Attached
Detach File
Event Timeline
Log In to Comment