diff options
author | Anand Avati <avati@redhat.com> | 2013-11-27 10:35:30 -0800 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-04 03:33:46 -0800 |
commit | 0f02c5125b96da8083a623ed9f455e68ded46b9c (patch) | |
tree | 972ee0bae78c7c6bf592b78dbb64fb8f37052fff /extras/clear_xattrs.sh | |
parent | c23f35f7ad28b03b3ce5a530c7453bc9f5b7bc05 (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: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/6420
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras/clear_xattrs.sh')
0 files changed, 0 insertions, 0 deletions