summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-05-06 05:40:15 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-05-07 12:52:45 +0530
commitfd2e7d9ebb94ccf5faf5c9d9891978e09fce0b05 (patch)
tree1cd433831d67ac318a82a08b28f89627bb317862 /libglusterfs
parent542d9ed6c1758df85fc0e252952cfb80669f4a70 (diff)
symlink-cache: fix return value of readlink
- sc_readlink wrongly returned strlen (link) + 1 when link was present in cache. - this fixes rt #828. Since fuse_readlink_cbk does link[op_ret] = '\0', there was a memory corruption. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions