Actions
Bug #5822
openrfs_create() could leak vnode
Status:
New
Priority:
Normal
Assignee:
-
Category:
nfs - NFS server and client
Start date:
2015-04-09
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
The dvp could leak at lines 1708 and 1765 here in rfs_create():
1699 dvp = nfs_fhtovp(args->ca_da.da_fhandle, exi); 1700 if (dvp == NULL) { 1701 dr->dr_status = NFSERR_STALE; 1702 return; 1703 } 1704 1705 error = sattr_to_vattr(args->ca_sa, &va); 1706 if (error) { 1707 dr->dr_status = puterrno(error); 1708 return; 1709 } ... 1763 if (name == NULL) { 1764 dr->dr_status = puterrno(EINVAL); 1765 return; 1766 }
No data to display
Actions