summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2012-11-21 08:54:48 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2013-07-05 21:42:42 (GMT)
commit7a6a731bd00ca90d0e250867c3b9c05b5ff0fa49 (patch)
tree436e4632cffee92778dbafbb0c426fe267bbe4ac /arch/sh
parentb2c311075db578f1433d9b303698491bfa21279a (diff)
downloadlinux-fsl-qoriq-7a6a731bd00ca90d0e250867c3b9c05b5ff0fa49.tar.xz
[SCSI] megaraid_sas: fix memory leak if SGL has zero length entries
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> Cc: <stable@vger.kernel.org> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions