Page MenuHomeFreeBSD

D24445.diff
No OneTemporary

D24445.diff

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

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)

Event Timeline