summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-20 10:07:12 +0200
committerAnand Avati <avati@redhat.com>2012-07-02 15:37:26 -0700
commit2310671cd15cd1639436a824922fa0a924cd6367 (patch)
tree8e32b0606370f0f53908469b2b306e26856ccd9f /xlators/features
parent13e7f9dc6971be887fc73a460517fa84e11b927c (diff)
geo-rep: handle input without trailing newline; don't reference buf[-1]
Do not truncate final byte of a line that does not end in a newline. Do not clobber stack (resbuf[-1]) for input that starts with a NUL byte. Likewise in glusterd_urltransform. Change-Id: Ifdcad02d908c8dcbc1a0eee78d318dd4e7860322 BUG: 789278 Signed-off-by: Jim Meyering <meyering@redhat.com> Reviewed-on: http://review.gluster.com/3595 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/features')
0 files changed, 0 insertions, 0 deletions