diff options
author | Jan Stancek <[email protected]> | 2016-09-28 16:38:37 +0200 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2016-10-02 22:33:43 +0800 |
commit | 7bcb87bca2f51226f3ec382fcd3ff52cc15747bb (patch) | |
tree | 07bb151f7e7dd849a87822e33506f15925c28419 /scripts/gdb/linux/lists.py | |
parent | 3387879524ec07fd9ba371eddd17e717abdd5e4f (diff) |
crypto: testmgr - add guard to dst buffer for ahash_export
Add a guard to 'state' buffer and warn if its consistency after
call to crypto_ahash_export() changes, so that any write that
goes beyond advertised statesize (and thus causing potential
memory corruption [1]) is more visible.
[1] https://marc.info/?l=linux-crypto-vger&m=147467656516085
Signed-off-by: Jan Stancek <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Marcelo Cerri <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions