[PATCH 0/2] crypto: fix regression in hash result buffer handling

Daniel P. Berrangé posted 2 patches 1 week ago
There is a newer version of this series
crypto/hash-gcrypt.c          | 15 ++++++++++++---
crypto/hash-glib.c            | 11 +++++++++--
crypto/hash-gnutls.c          | 16 +++++++++++++---
crypto/hash-nettle.c          | 14 +++++++++++---
tests/unit/test-crypto-hash.c |  7 ++++---
tests/unit/test-crypto-hmac.c |  6 ++++--
6 files changed, 53 insertions(+), 16 deletions(-)
[PATCH 0/2] crypto: fix regression in hash result buffer handling
Posted by Daniel P. Berrangé 1 week ago

Daniel P. Berrangé (2):
  crypto/hash: avoid overwriting user supplied result pointer
  tests: correctly validate result buffer in hash/hmac tests

 crypto/hash-gcrypt.c          | 15 ++++++++++++---
 crypto/hash-glib.c            | 11 +++++++++--
 crypto/hash-gnutls.c          | 16 +++++++++++++---
 crypto/hash-nettle.c          | 14 +++++++++++---
 tests/unit/test-crypto-hash.c |  7 ++++---
 tests/unit/test-crypto-hmac.c |  6 ++++--
 6 files changed, 53 insertions(+), 16 deletions(-)

-- 
2.46.0