Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106147984
D24445.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
535 B
Referenced Files
None
Subscribers
None
D24445.diff
View Options
Index: head/sys/security/audit/audit_bsm_klib.c
===================================================================
--- head/sys/security/audit/audit_bsm_klib.c
+++ head/sys/security/audit/audit_bsm_klib.c
@@ -433,10 +433,15 @@
__func__, __FILE__, __LINE__);
copy = path;
- if (*path == '/')
+ if (*path == '/') {
vp = rdir;
- else
+ } else {
+ if (cdir == NULL) {
+ cpath[0] = '\0';
+ return;
+ }
vp = cdir;
+ }
MPASS(vp != NULL);
/*
* NB: We require that the supplied array be at least MAXPATHLEN bytes
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 4:43 AM (10 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15611243
Default Alt Text
D24445.diff (535 B)
Attached To
Mode
D24445: audit_canon_path_vp: don't panic if cdir == NULL
Attached
Detach File
Event Timeline
Log In to Comment