Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146490754
D38042.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
D38042.diff
View Options
diff --git a/stand/uboot/devicename.c b/stand/uboot/devicename.c
--- a/stand/uboot/devicename.c
+++ b/stand/uboot/devicename.c
@@ -148,6 +148,10 @@
goto fail;
}
idev->dd.d_dev = dv;
+ /*
+ * dev can be NULL, since uboot_getdev calls us directly, rather than via
+ * dv_parsedev in devparse() which otherwise ensures that it can't be NULL.
+ */
if (dev == NULL) {
free(idev);
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 4, 3:00 AM (14 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29212569
Default Alt Text
D38042.diff (402 B)
Attached To
Mode
D38042: stand/uboot: Explain why we test for NULL here
Attached
Detach File
Event Timeline
Log In to Comment