Files
linux/drivers
Bjørn Mork 4ac697c53b SCSI: megaraid_sas: fix memory leak if SGL has zero length entries
commit 7a6a731bd0 upstream.

commit 98cb7e44 ([SCSI] megaraid_sas: Sanity check user
supplied length before passing it to dma_alloc_coherent())
introduced a memory leak.  Memory allocated for entries
following zero length SGL entries will not be freed.

Reference: http://bugs.debian.org/688198

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-28 16:30:12 -07:00
..
2013-07-21 18:21:29 -07:00
2013-07-28 16:30:11 -07:00
2013-07-25 14:07:28 -07:00
2013-05-20 13:38:14 -07:00
2013-07-28 16:30:10 -07:00
2013-07-21 18:21:30 -07:00
2013-06-05 08:54:16 -06:00