diff options
author | Bipin Kunal <bkunal@redhat.com> | 2016-06-10 17:45:58 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-06-13 03:10:48 -0700 |
commit | 4553ecf1d3f6186ea16864720e0d54773263ba3b (patch) | |
tree | a1e7ec0e2b961fb81f046fa856162362ece0aaf1 /COPYING-LGPLV3 | |
parent | de56d9591ed94fc6f77e6f97ea6bbfaeae8e19fd (diff) |
xdr/nfs: free complete groupnode structure
The groupnode->gr_next pointer is not traversed upon free. This is
currently not a problem, because the pointer is never used. However the
correct way to free a groupnode should check the ->gr_next pointer and
free any of the groups that it encounters.
This problem was identified while correcting a problem with the MOUNT
protocol. The change "nfs: build exportlist with multiple groups" starts
to use ->gr_next.
This is backport of below mainline fix -
http://review.gluster.org/#/c/14666/
Change-Id: I9d04eaf4c65bdb8db136321d60e70789da1739d7
BUG: 1343287
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Bipin Kunal <bkunal@redhat.com>
Reviewed-on: http://review.gluster.org/14699
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: bipin kunal <kunalbipin@gmail.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'COPYING-LGPLV3')
0 files changed, 0 insertions, 0 deletions