diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-07-10 23:12:28 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-07-12 12:48:26 -0700 |
commit | 3a6b3dae15bba00860c3323ff8867c4845b877d6 (patch) | |
tree | cbe183f1a0046d6a5c0a3dcd3b0e15e5d5828ff1 /libglusterfs/src/event-epoll.c | |
parent | bfbd710b675d61fb3e8eaecd70eca92f806c6d8d (diff) | |
download | glusterfs-3a6b3dae15bba00860c3323ff8867c4845b877d6.tar.gz glusterfs-3a6b3dae15bba00860c3323ff8867c4845b877d6.tar.xz glusterfs-3a6b3dae15bba00860c3323ff8867c4845b877d6.zip |
features/posix : Avoid double free of a variable in posix_setxattr()
The buffer acl_xattr is introduced in posix_setxattr() as part of
http://review.gluster.org/#/c/11519/. This variable can be freed
twice in the code path , one in dict_unref() and another by explicit
GF_FREE() call in the code. This patch avoids the same.
Change-Id: I31c6384e37ab8d8baaed7a53de668c2eb5d82338
BUG: 1242030
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/11627
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: soumya k <skoduri@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/event-epoll.c')
0 files changed, 0 insertions, 0 deletions