diff options
author | Vikas Gorur <vikas@gluster.com> | 2011-02-17 19:18:12 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-17 23:32:41 -0800 |
commit | e77eae0f04b90ad9722ce82d59fd552cae63c347 (patch) | |
tree | 0bb7320761f137b6deba30b9b56b84963cb9ce72 /xlators/protocol/client/src | |
parent | fc63f24904b14aaad338aa44107cbda7e547e6b1 (diff) |
libglusterfs/dict: memcpy() data_t in unserialize.
This fixes a race in dht_getxattr() where the xattr dictionary
returned by one of the subvolumes can get free'd before STACK_UNWIND,
leading to applications seeing junk values.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2442 (getxattr() on a directory sometimes returns junk)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2442
Diffstat (limited to 'xlators/protocol/client/src')
0 files changed, 0 insertions, 0 deletions