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:45 -0700 |
commit | 7c1330d38cfeda93ab35b014b59e404b7b3d8ff4 (patch) | |
tree | d0f7de4adfd79e9c99623b3e4a73f0d46c6a6f84 /geo-replication/syncdaemon | |
parent | 8bb1a1c0cbfeabaf74bf18f7ddc0245733fb57cd (diff) |
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.
Backport of http://review.gluster.org/#/c/11627/
>Change-Id: I31c6384e37ab8d8baaed7a53de668c2eb5d82338
>BUG: 1242030
>Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Change-Id: I172be30c0570fe096138c2e529c45fb26497f649
BUG: 1242031
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/11628
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon')
0 files changed, 0 insertions, 0 deletions