+1
−1
Loading
lun_id could potentially overflow the dev->lun array bounds if it was equal to dev->maxlun, which is actually the maximum lun array index plus one, not the maximum valid LUN index. Change-Id: I5662c6f6fa634a7dd755c9bfc1a24d3c4cabe7ea Reported-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Signed-off-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/369074 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>