commit | 75cb113cd43f06aaf4f1bda0069cfd5b98e909eb | [log] [tgz] |
---|---|---|
author | Danila Chernetsov <[email protected]> | Fri Mar 17 17:51:09 2023 +0000 |
committer | Martin K. Petersen <[email protected]> | Fri Mar 24 20:27:17 2023 -0400 |
tree | c4e2d79f221e9e2b6e6e3d316e9d943ac98690f4 | |
parent | 62d15dba0aa4448c15da9c9443018c70fc2527b2 [diff] |
scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS When cmdid == CMDID_INT_CMDS, the 'cmds' pointer is NULL but is dereferenced below. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 0f2bb84d2a68 ("[SCSI] megaraid: simplify internal command handling") Signed-off-by: Danila Chernetsov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>