diff options
| author | Jeremy Boone <[email protected]> | 2018-02-12 17:56:36 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-03-05 10:05:36 -0500 |
| commit | afe0e6bddf295d4514ab56cd76d5ec13a9c30b22 (patch) | |
| tree | 64f93c651177185772dfde1398812d969e48913b /scripts | |
| parent | 12e0ab327d1a6711ee40ac9ade2e189d1092e962 (diff) | |
Infineon TPM: Fix potential buffer overruns
Ensure that the Infineon I2C and SPI TPM driver performs adequate
validation of the length extracted from the TPM response header.
This patch prevents integer underflow when the length was too small,
which could lead to memory corruption.
Signed-off-by: Jeremy Boone <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
