Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167578975
D54944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
373 B
Referenced Files
None
Subscribers
None
D54944.diff
View Options
diff --git a/sys/compat/lindebugfs/lindebugfs.c b/sys/compat/lindebugfs/lindebugfs.c
--- a/sys/compat/lindebugfs/lindebugfs.c
+++ b/sys/compat/lindebugfs/lindebugfs.c
@@ -272,6 +272,9 @@
struct dentry *dnode;
struct pfs_node *pnode;
+ if (name == NULL)
+ return (NULL);
+
dm = malloc(sizeof(*dm), M_DFSINT, M_NOWAIT | M_ZERO);
if (dm == NULL)
return (NULL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 23, 8:23 PM (6 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37159953
Default Alt Text
D54944.diff (373 B)
Attached To
Mode
D54944: lindebugfs: check that name is set as otherwise pfs_alloc_node_flags() panics
Attached
Detach File
Event Timeline
Log In to Comment