diff options
| author | Tadeusz Struk <[email protected]> | 2019-10-07 14:46:37 -0700 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2019-11-12 21:45:37 +0200 |
| commit | f1689114acc5e89a196fec6d732dae3e48edb6ad (patch) | |
| tree | acebb07fcaf593a6a17bd6973d5307ddda5d1441 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 1fce4d8a19fe3e49157327e7db1611269cd49d10 (diff) | |
tpm: add check after commands attribs tab allocation
devm_kcalloc() can fail and return NULL so we need to check for that.
Cc: [email protected]
Fixes: 58472f5cd4f6f ("tpm: validate TPM 2.0 commands")
Signed-off-by: Tadeusz Struk <[email protected]>
Reviewed-by: Jerry Snitselaar <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions