From 0ae08af46ae1663ae6e23b48ebca012b7ff1fed3 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Sun, 7 Feb 2016 01:09:38 +0000 Subject: [PATCH] fdesc_setattr: unitialized pointer read CID: 1018688 --- sys/fs/fdescfs/fdesc_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 1b0e5692827..a90f4dcaab4 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -465,7 +465,7 @@ fdesc_setattr(ap) { struct vattr *vap = ap->a_vap; struct vnode *vp; - struct mount *mp; + struct mount *mp = NULL; struct file *fp; struct thread *td = curthread; cap_rights_t rights;