+1
−1
Loading
spdk_mem_map_translate() inside the vtophys unregister callback could potentially read unitialized variable. This isn't critical since vtophys mem map doesn't yet implement the callback for checking mem contiguity and the spdk_mem_map_translate() was exiting early - before the unitialized variable was actually processed. It was still technically dereferenced though, which is a bug. Change-Id: I2af52e6f41bee35528c3d771aafd9c768c9d2fc7 Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/438445 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>