diff options
author | Poornima <pgurusid@redhat.com> | 2013-12-03 05:46:40 +0000 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-12-03 15:17:12 -0800 |
commit | 8a0f744c461166be483f28fe9da37732586585d8 (patch) | |
tree | c521c701739d1a3fcb58012e9adefe69e85d138b /rpc | |
parent | 17312534879f506c71ee72c549ba6fda6f9b063d (diff) |
cluster/afr: handle NULL check before strlen/strcmp in fgetxattr
xattr name can legally be NULL. Handle that case without crashing.
Change-Id: Ie214cb05ccd52565dc247a9234ad83ae799d3866
BUG: 1036879
Signed-off-by: Poornima <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/6412
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions