diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2022-01-20 15:12:01 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-20 11:31:52 -0800 |
commit | 24d4d38c0b32fd4eb075af89d7b744c5647db5c2 (patch) | |
tree | cc34419ff31ed2e2ded0670ae2df522cf5fa18c8 /repository.c | |
parent | reftable: fix OOB stack write in print functions (diff) | |
download | tgif-24d4d38c0b32fd4eb075af89d7b744c5647db5c2.tar.xz |
reftable: fix resource leak in block.c error path
Add test coverage for corrupt zlib data. Fix memory leaks demonstrated by
unittest.
This problem was discovered by a Coverity scan.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.c')
0 files changed, 0 insertions, 0 deletions