+9
−4
+1
−3
+12
−0
+1
−4
Loading
nvme_allocate_request() does not clear all the fields of the request structure. SPDK generates internal admin commands that set user_buffer and related fields. When the request structure associated with these commands are reused, the user_buffer and related fields will contain stale data. If there is an error in submitting this request, it will cause a bad free. Change-Id: Ie60f5baad6f12dc1f42edd3116b9ae59ff51e67c Signed-off-by:Deepak Abraham Tom <deepak-abraham.tom@hpe.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20250 Reviewed-by:
Michael Haeuptle <michaelhaeuptle@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Vasuki Manikarnike <vasuki.manikarnike@hpe.com> Community-CI: Mellanox Build Bot