summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-09-15 19:05:16 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-10-03 17:13:49 +0300
commit04dc923c9e4c43df7d2d94f290189785d3172326 (patch)
tree1ff276268fd5d3029281e2fa0b31fe2d5d9df053 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent7c84883adf6dc614fc9e01304aa1813a55c43ad2 (diff)
downloadlinux-04dc923c9e4c43df7d2d94f290189785d3172326.tar.xz
rbd: img_data requests don't own their page array
Move the check into rbd_obj_request_destroy() to avoid use-after-free on errors in rbd_img_request_fill(..., OBJ_REQUEST_PAGES, ...), where pages, owned by the caller, gets freed in rbd_img_request_fill(). Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions