Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160535494
D39348.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.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
Fri, Jun 26, 10:46 AM (11 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34354731
Default Alt Text
D39348.diff (400 B)
Attached To
Mode
D39348: mlxfw: fix potential NULL pointer dereference
Attached
Detach File
Event Timeline
Log In to Comment