ar Baddela"
> , "Johannes Thumshirn"
>
> Sent: Thursday, June 23, 2016 8:37:20 AM
> Subject: [PATCH] snic: Fix use-after-free in case of a dma mapping error
>
> If there is a dma mapping error snic kfree()s buf right before printing it.
> Change the order to not ac
If there is a dma mapping error snic kfree()s buf right before printing it.
Change the order to not accidently trip on memory that's not owned by us
anymore.
Signed-off-by: Johannes Thumshirn
---
drivers/scsi/snic/snic_disc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
2 matches
Mail list logo