Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153363964
D39348.id119851.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
400 B
Referenced Files
None
Subscribers
None
D39348.id119851.diff
View Options
diff --git a/sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c b/sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
--- a/sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
+++ b/sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
@@ -60,6 +60,8 @@
if (tlv->type == MLXFW_MFA2_TLV_MULTI_PART) {
multi = mlxfw_mfa2_tlv_multi_get(mfa2_file, tlv);
+ if (!multi)
+ return NULL;
tlv_len = NLA_ALIGN(tlv_len + be16_to_cpu(multi->total_len));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 5:43 PM (20 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31923820
Default Alt Text
D39348.id119851.diff (400 B)
Attached To
Mode
D39348: mlxfw: fix potential NULL pointer dereference
Attached
Detach File
Event Timeline
Log In to Comment