Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162634153
D54672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
389 B
Referenced Files
None
Subscribers
None
D54672.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_firmware.c b/sys/compat/linuxkpi/common/src/linux_firmware.c
--- a/sys/compat/linuxkpi/common/src/linux_firmware.c
+++ b/sys/compat/linuxkpi/common/src/linux_firmware.c
@@ -66,7 +66,8 @@
uint32_t flags;
if (fw_name == NULL || fw == NULL || dev == NULL) {
- *fw = NULL;
+ if (fw != NULL)
+ *fw = NULL;
return (-EINVAL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 7:02 AM (1 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35128077
Default Alt Text
D54672.diff (389 B)
Attached To
Mode
D54672: linuxkpi: Avoid a potential null pointer dereference in an error path
Attached
Detach File
Event Timeline
Log In to Comment