diff options
author | Jim Meyering <meyering@redhat.com> | 2012-06-20 13:34:11 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-02 15:44:26 -0700 |
commit | c62eeda7718e4c15e19ade68455826ab32438f98 (patch) | |
tree | 08cdcfe672a067147f02cb418f5272faacbca79d /extras/contri-add.sh | |
parent | 9945a0030a78c33b46dc3fafd313cb87a91289fa (diff) |
libgf_client_chdir: don't access path[-1] upon chdir("")
Admittedly, this code may not be reachable via
glusterfs_chdir, assuming libgf_client_path_lookup
with such a loc.path would fail.
Change-Id: I0b72ade0918da30d49bff756dcf04d1512d0177f
BUG: 789278
Signed-off-by: Jim Meyering <meyering@redhat.com>
Reviewed-on: http://review.gluster.com/3601
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'extras/contri-add.sh')
0 files changed, 0 insertions, 0 deletions