Page MenuHomeFreeBSD

D56976.diff
No OneTemporary

D56976.diff

diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -5135,7 +5135,7 @@
return (ENOENT);
}
kif = malloc(sizeof(*kif), M_TEMP, M_WAITOK);
- okif = malloc(sizeof(*okif), M_TEMP, M_WAITOK);
+ okif = malloc(sizeof(*okif), M_TEMP, M_WAITOK | M_ZERO);
PWDDESC_XLOCK(pdp);
pwd = pwd_hold_pwddesc(pdp);
if (pwd != NULL) {

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 4, 9:15 AM (7 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33019716
Default Alt Text
D56976.diff (401 B)

Event Timeline