]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/record: handle allocation failures when decoding records
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Oct 2024 10:55:43 +0000 (12:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:53:52 +0000 (07:53 -0700)
commit31f5b972e0231d4211987775dd58e67815734989
tree82322e1ce95b6055aa00fd30a51f6ad8c8567d66
parentea194f9c4690de89f9f776517b1c76d706ab0ae8
reftable/record: handle allocation failures when decoding records

Handle allocation failures when decoding records. While at it, fix some
error codes to be `REFTABLE_FORMAT_ERROR`.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/record.c