fdesc_setattr: unitialized pointer read

CID:	1018688
This commit is contained in:
Pedro F. Giffuni 2016-02-07 01:09:38 +00:00
parent b00b459084
commit 0ae08af46a

View file

@ -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;