Page MenuHomeFreeBSD

D54944.diff
No OneTemporary

D54944.diff

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

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)

Event Timeline