summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-02-07 01:09:38 +0000
committerpfg <pfg@FreeBSD.org>2016-02-07 01:09:38 +0000
commit0bbadbe82bfe904f4b7d74ea8805c36bcd91a919 (patch)
treef432660b1404d32e6d2e8c6895d30a0afbb1ce85 /sys/fs/fdescfs
parent3ddfa78dde28358bb798cba9a030c1246dd138ab (diff)
downloadFreeBSD-src-0bbadbe82bfe904f4b7d74ea8805c36bcd91a919.zip
FreeBSD-src-0bbadbe82bfe904f4b7d74ea8805c36bcd91a919.tar.gz
fdesc_setattr: unitialized pointer read
CID: 1018688
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 1b0e569..a90f4dc 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;
OpenPOWER on IntegriCloud