summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_fc.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2014-06-17 13:15:40 +0200
committerChristoph Hellwig <hch@lst.de>2014-06-25 13:29:05 +0200
commitf2c6f180c98e1a8bc84781f32894b595363d3dfb (patch)
treec8f61123f9ebfcae8e30a0b355d201af41ae99c1 /drivers/scsi/scsi_transport_fc.c
parent3a980508c3fab88527998c258ddb3c12ff36fedc (diff)
downloadlinux-f2c6f180c98e1a8bc84781f32894b595363d3dfb.tar.bz2
pm8001: Fix potential null pointer dereference and memory leak.
The pm8001_get_phy_settings_info() function does not check the kzalloc() return value and does not free the allocated memory. Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Acked-by: Jack Wang <xjtuwjp@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/scsi_transport_fc.c')
0 files changed, 0 insertions, 0 deletions