diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2012-07-09 01:58:30 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-11 22:26:51 -0700 |
commit | 1ef9a920c1735865bce77ba8c93756e85c47f272 (patch) | |
tree | e5ad407f614cfc0e51fdb91a46cc2c7e6ec73911 /contrib/macfuse | |
parent | b1a5fa55695f497952264e35a9c8eb2bbf1ec4c3 (diff) |
storage/posix: handle getxattr failures gracefully
Use proper variable types for getting return value of getxattr calls,
which otherwise can lead to segfaulting of processes or page allocation
failures in the kernel.
Change-Id: I62ab5d6c378447090c19846f03298c3afc8863ba
BUG: 838195
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.com/3640
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'contrib/macfuse')
0 files changed, 0 insertions, 0 deletions