linux/drivers/char/tpm
Jesper Juhl 178554ae75 Memory leak in tpm_ascii_bios_measurements_open()
Coverity found a memory leak in tpm_ascii_bios_measurements_open().

If "read_log(log)" fails, then we may leak 'log' and
'log->bios_event_log'.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Seiji Munetoh <munetoh@jp.ibm.com>
Cc: Stefan Berger <stefanb@us.ibm.com>
Cc: Reiner Sailer <sailer@watson.ibm.com>
Cc: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-20 08:44:20 -07:00
..
Kconfig Use menuconfig objects II - TPM 2007-07-16 09:05:40 -07:00
Makefile [PATCH] tpm: driver for next generation TPM chips 2006-04-22 09:19:54 -07:00
tpm_atmel.c [PATCH] tpm: fix error handling 2006-10-11 11:14:22 -07:00
tpm_atmel.h Missing include file in tpm_atmel.h 2007-05-12 10:55:39 -07:00
tpm_bios.c Memory leak in tpm_ascii_bios_measurements_open() 2007-07-20 08:44:20 -07:00
tpm_infineon.c tpm_infineon: add support for devices in mmio space 2007-05-08 11:15:02 -07:00
tpm_nsc.c [PATCH] tpm: fix error handling 2006-10-11 11:14:22 -07:00
tpm_tis.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
tpm.c use mutex instead of semaphore in TPM driver 2007-05-08 11:15:15 -07:00
tpm.h use mutex instead of semaphore in TPM driver 2007-05-08 11:15:15 -07:00