[PATCH 0/2] bnx2fc: fix memory leak and potential NULL pointer dereferences

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The first patch removes a unused variable from the bnx2fc_free_hash_table() function,
it was already posted on the linux-scsi mailing list:

http://www.spinics.net/lists/linux-scsi/msg72740.html

but has not been picked up yet.

The second patch fixes a memory leak and some NULL pointer dereferences
that may happen if bnx2fc_allocate_hash_table() fails.

Maurizio Lombardi (2):
  bnx2fc: remove unused variable hash_table_size
  bnx2fc: fix memory leak and potential NULL pointer dereference.

 drivers/scsi/bnx2fc/bnx2fc_hwi.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

-- 
Maurizio Lombardi

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux