# Re: \[PATCH 0/3\] sha256/gcrypt fixes

- From: Junio C Hamano \<hidden\>
- Date: 2023-07-31 15:58:48 
- List: git
- Page: https://ratatoskr.run/git/2023/07/7973029
- Thread: https://ratatoskr.run/git/2023/07/7973029/t.md

```text
Eric Wong [ref] writes:

> I noticed problems requiring patches 2 and 3 while eyeballing
> the code, but had to come up with the first one to fix
> SANITIZE=leak, first.

Thanks.

>
> Eric Wong (3):
>   sha256/gcrypt: fix build with SANITIZE=leak
>   sha256/gcrypt: fix memory leak with SHA-256 repos
>   sha256/gcrypt: die on gcry_md_open failures
>
>  sha256/gcrypt.h | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)
```
