[Bugs] [Bug 1402212] Fix compound fops memory leaks
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 20 09:13:03 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1402212
--- Comment #8 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16046 committed in release-3.9 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit a8a2d6d3bb161e86464c9bb72b8847fe3ef7699e
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date: Sat Dec 3 09:09:15 2016 +0530
afr, client: More mem-leak fixes in COMPOUND fop cbk
Backport of: http://review.gluster.org/16020
Bugs found and fixed:
1. Use correct subvolume index in pre-op-writev compound cbk
2. Prevent use-after-free of local->compound_args members in
compound fops cbk in protocol/client
3. Fix xdata and xattr leaks in client_process_response
4. Fix possible leak of xdata in client_pre_writev() in
test mode.
5. Free req->compound_req_array.compound_req_array_val as well
after freeing its members
6. Free tmp_rsp->flock.lk_owner.lk_owner_val in LK fop.
Change-Id: I40f576b48625d65fcbd7a11181eeff37f9e1e011
BUG: 1402212
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-on: http://review.gluster.org/16046
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=UJhXjpqG10&a=cc_unsubscribe
More information about the Bugs
mailing list