Re: [PATCH][next] scsi: hpsa: fix an uninitialized read and dereference of pointer dev

From: Martin K. Petersen
Date: Wed May 29 2019 - 21:59:23 EST



Colin,

> Currently the check for a lockup_detected failure exits via the label
> return_reset_status that reads and dereferences an uninitialized
> pointer dev. Fix this by ensuring dev is inintialized to null.

Applied to 5.3/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering