diff options
author | Amar Tumballi <amarts@redhat.com> | 2012-04-27 13:20:21 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-04-27 13:27:13 -0700 |
commit | 4c84a4cd5e5e563e1e91656f7462b4c444e5f4e6 (patch) | |
tree | 2ac15b43867a259cb530441c36de9ca821b571f2 /xlators/mgmt/glusterd/src | |
parent | f9ca9f09ce47715573d0ae2b5e174e8b63185b56 (diff) |
storage/posix: fix illegal memory access in fgetxattr()
we were not checking for the return value of the fgetxattr(key), and
used to continue with the allocation even if size was -1, leading to
wrong memory access.
Change-Id: Ib5cf2e74fee95bc919b12efe89fed5cd25807efd
Signed-off-by: Amar Tumballi <amarts@redhat.com>
BUG: 815346
Reviewed-on: http://review.gluster.com/3236
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
0 files changed, 0 insertions, 0 deletions