Revision 26c4f98ffda512bc0731c4bd13e22338137e9a7c authored by Junio C Hamano on 26 March 2021, 21:58:49 UTC, committed by Junio C Hamano on 26 March 2021, 21:59:03 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 89519f6
fuzz-pack-headers.c
#include "packfile.h"
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
enum object_type type;
unsigned long len;
unpack_object_header_buffer((const unsigned char *)data,
(unsigned long)size, &type, &len);
return 0;
}
Computing file changes ...