diff options
author | Stefan Berger <[email protected]> | 2017-01-19 07:19:12 -0500 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2017-01-23 18:28:18 +0200 |
commit | c659af78eb7b7d7be40f23d9d97bde58eb1368ac (patch) | |
tree | 88dfa2afb97240abe521a65639795bd969eb749e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1d70fe9d9c3a4c627f9757cbba5d628687b121c1 (diff) |
tpm: Check size of response before accessing data
Make sure that we have not received less bytes than what is indicated
in the header of the TPM response. Also, check the number of bytes in
the response before accessing its data.
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions