android_kernel_xiaomi_sm8350/drivers/char/tpm
Michael Halcrow 0147600172 tpm: Use correct data types for sizes in tpm_write() and tpm_read()
Use the correct data types for the size parameters in tpm_write() and
tpm_read(). Note that rw_verify_area() makes sure that this bug cannot
be exploited to produce a buffer overrun.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Marcel Selhorst <tpm@selhorst.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-26 12:00:04 -07:00
..
Kconfig tpm: change Kconfig dependencies from PNPACPI to PNP 2008-04-29 08:06:26 -07:00
Makefile
tpm_atmel.c
tpm_atmel.h
tpm_bios.c tpm_bios.c: make 2 structs static 2008-07-26 12:00:04 -07:00
tpm_infineon.c tpm: infineon section mismatch 2008-02-06 10:41:10 -08:00
tpm_nsc.c tpm: fix section mismatch warning 2008-04-29 08:06:26 -07:00
tpm_tis.c tpm: add support for Broadcom TPM TIS device HID 2008-07-26 12:00:03 -07:00
tpm.c tpm: Use correct data types for sizes in tpm_write() and tpm_read() 2008-07-26 12:00:04 -07:00
tpm.h