diff options
author | Stefan Berger <[email protected]> | 2016-11-16 08:56:13 -0500 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2016-11-28 01:31:32 +0200 |
commit | 005451d44ad46623aac8349df15d7c0d1d8914c1 (patch) | |
tree | 517a6c33f47e181253b35bb61772cf01891ce084 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 79eec5b940cffff14c7bd1b9eb856ccb36274cc2 (diff) |
tpm: Check the bios_dir entry for NULL before accessing it
Check the bios_dir entry for NULL before accessing it. Currently
this crashes the driver when a TPM 2 is attached and the entries
are NULL.
Signed-off-by: Stefan Berger <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions