Page MenuHomeFreeBSD

D50368.id.diff
No OneTemporary

D50368.id.diff

diff --git a/sys/security/mac_grantbylabel/mac_grantbylabel.c b/sys/security/mac_grantbylabel/mac_grantbylabel.c
--- a/sys/security/mac_grantbylabel/mac_grantbylabel.c
+++ b/sys/security/mac_grantbylabel/mac_grantbylabel.c
@@ -409,6 +409,10 @@
proc = pfind(gbl_args.u.pid);
if (proc == NULL)
return (EINVAL);
+ else if (proc->p_textvp == NULL) {
+ PROC_UNLOCK(proc);
+ return (EINVAL);
+ }
proc_locked = 1;
}
gbl_args.gbl = (SLOT(proc->p_textvp->v_label) |

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 19, 12:35 AM (21 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35211598
Default Alt Text
D50368.id.diff (491 B)

Event Timeline