diff options
author | Ricardo Schwarzmeier <[email protected]> | 2018-06-26 17:31:45 +0200 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2018-07-28 17:03:11 +0300 |
commit | 36a11029b07ee30bdc4553274d0efea645ed9d91 (patch) | |
tree | a0905a4c425cd3c4ce19357b130783a24cc4c977 /net/lapb | |
parent | 627448e85c766587f6fdde1ea3886d6615081c77 (diff) |
tpm: Return the actual size when receiving an unsupported command
The userpace expects to read the number of bytes stated in the header.
Returning the size of the buffer instead would be unexpected.
Cc: [email protected]
Fixes: 095531f891e6 ("tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented")
Signed-off-by: Ricardo Schwarzmeier <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions