Loading
uring: fix heap-use-after-free bug in sock_flush_client
If the req's cb_fn will close the socket, there is heap-use-after-free error if continuing to access sock. Signed-off-by:Richael Zhuang <richael.zhuang@arm.com> Change-Id: I88c6adb9d25e52d94b08f53e8ccac611c4d29fff Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11855 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>