Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157157325
D56965.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
426 B
Referenced Files
None
Subscribers
None
D56965.diff
View Options
diff --git a/sys/netlink/route/iface_drivers.c b/sys/netlink/route/iface_drivers.c
--- a/sys/netlink/route/iface_drivers.c
+++ b/sys/netlink/route/iface_drivers.c
@@ -154,6 +154,8 @@
int nla_len = sizeof(struct nlattr) * 3 +
sizeof(ifindex) + NL_ITEM_ALIGN(ifname_len + 1);
struct nlattr *nla_cookie = npt_alloc(npt, nla_len);
+ if (nla_cookie == NULL)
+ return;
/* Nested TLV */
nla_cookie->nla_len = nla_len;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 9:02 PM (8 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33014601
Default Alt Text
D56965.diff (426 B)
Attached To
Mode
D56965: rtnetlink: Check for allocation failure in _nl_store_ifp_cookie()
Attached
Detach File
Event Timeline
Log In to Comment