libtpms/src
Stefan Berger c12e737cce tpm2: Check for NULL pointer before dereferencing it (-fanalyzer)
Check that the object returned from HandleToObject is not NULL before
dereferencing it. In practice, this cannot currently happen in the call
paths that GetHierachy() is called because the object described by the
handle is known to exist.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2026-02-11 14:04:06 -05:00
..
tpm2 tpm2: Check for NULL pointer before dereferencing it (-fanalyzer) 2026-02-11 14:04:06 -05:00
tpm12 tpm12: Resolve some issues detected by gcc -fanalyzer in tpm_nvram.c 2026-02-11 14:04:06 -05:00
compiler.h tpm2: Remove unused function parameters or mark them as unused 2024-09-24 09:32:02 -04:00
disabled_interface.c tpm2: Remove unused function parameters or mark them as unused 2024-09-24 09:32:02 -04:00
libtpms.syms tpm2: Implement TPMLIB_WasManufactured API call 2024-08-30 16:25:47 -04:00
Makefile.am tpm2: Rename PlatformPCR.c to PlatformPcr.c and sync 2025-08-06 13:55:46 -04:00
test.syms build-sys: work around broken linker when testing --version-script support 2018-08-30 21:45:16 +00:00
tpm_debug.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_debug.h tpm: #undef printf in case it is #define'd (OSS-Fuzz) 2022-04-08 08:35:19 -04:00
tpm_library_conf.h Fix many misspellings 2021-03-02 08:20:25 -05:00
tpm_library_intern.h tpm2: Wrap asprintf to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
tpm_library.c Fix a compilation error in TPMLIB_GetPlaintext 2026-01-02 12:00:41 -05:00
tpm_memory.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_nvfile.c nvfile: Free allocated memory on failure 2022-05-20 09:57:09 -04:00
tpm_nvfile.h Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_tpm2_interface.c tpm2: Wrap asprintf to avoid static analyzer warnings 2024-10-03 14:35:16 -04:00
tpm_tpm2_tis.c tpm2: rev155: Major refactoring of header files 2020-04-14 16:03:45 -04:00
tpm_tpm12_interface.c tpm2: Remove unused function parameters or mark them as unused 2024-09-24 09:32:02 -04:00
tpm_tpm12_tis.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00