aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorVikram Auradkar <[email protected]>2019-11-14 15:39:04 +0530
committerMartin K. Petersen <[email protected]>2019-11-19 21:37:33 -0500
commita88d9db94c4c9fb2b6ce9f5748928bef46aa9885 (patch)
tree756c71b5a5c51f2afcc1820d31e1162ccb9f3b72 /drivers/usb/cdns3/cdns3-imx.c
parente90e236250e9edd2584a3405d0b2482ef687a637 (diff)
scsi: pm80xx: Fix dereferencing dangling pointer
sas_task structure should not be used after task_done is called. If the device is gone or not attached, we call task_done on t and continue to use in the sas_task in rest of the function. task_done is pointing to sas_ata_task_done, may free the memory associated with the task before returning. Link: https://lore.kernel.org/r/[email protected] Acked-by: Jack Wang <[email protected]> Signed-off-by: Vikram Auradkar <[email protected]> Signed-off-by: Deepak Ukey <[email protected]> Signed-off-by: Viswas G <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions