Author: pfg
Date: Sun Feb  7 01:09:38 2016
New Revision: 295359
URL: https://svnweb.freebsd.org/changeset/base/295359

Log:
  fdesc_setattr: unitialized pointer read
  
  CID:  1018688

Modified:
  head/sys/fs/fdescfs/fdesc_vnops.c

Modified: head/sys/fs/fdescfs/fdesc_vnops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vnops.c   Sun Feb  7 01:04:47 2016        
(r295358)
+++ head/sys/fs/fdescfs/fdesc_vnops.c   Sun Feb  7 01:09:38 2016        
(r295359)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to