aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJarkko Sakkinen <[email protected]>2018-09-03 04:01:26 +0300
committerJarkko Sakkinen <[email protected]>2018-10-05 13:47:33 +0300
commit84b59f6487d82d3ab4247a099aba66d4d17e8b08 (patch)
treea028dd73b36a47922eb1867bd6ca95bf0da6a784 /tools/perf/scripts/python/export-to-postgresql.py
parent2ecefa0a15fd0ef88b9cd5d15ceb813008136431 (diff)
tpm: fix response size validation in tpm_get_random()
When checking whether the response is large enough to be able to contain the received random bytes in tpm_get_random() and tpm2_get_random(), they fail to take account the header size, which should be added to the minimum size. This commit fixes this issue. Cc: [email protected] Fixes: c659af78eb7b ("tpm: Check size of response before accessing data") Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions