summaryrefslogtreecommitdiff
path: root/scripts/elf-parse.c
diff options
context:
space:
mode:
authorRanjan Kumar <ranjan.kumar@broadcom.com>2026-02-12 12:30:26 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2026-02-17 21:31:47 -0500
commitfa96392ebebc8fade2b878acb14cce0f71016503 (patch)
tree3e1fdb490a9776ec4af05e08955790ba7565fe42 /scripts/elf-parse.c
parent5b313760059c9df7d60aba7832279bcb81b4aec0 (diff)
scsi: mpi3mr: Add NULL checks when resetting request and reply queues
The driver encountered a crash during resource cleanup when the reply and request queues were NULL due to freed memory. This issue occurred when the creation of reply or request queues failed, and the driver freed the memory first, but attempted to mem set the content of the freed memory, leading to a system crash. Add NULL pointer checks for reply and request queues before accessing the reply/request memory during cleanup Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com> Link: https://patch.msgid.link/20260212070026.30263-1-ranjan.kumar@broadcom.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/elf-parse.c')
0 files changed, 0 insertions, 0 deletions