Revision 8679ef24ed64018bb62170c43ce73e0261c0600a authored by Junio C Hamano on 02 January 2020, 20:37:02 UTC, committed by Junio C Hamano on 02 January 2020, 20:38:30 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent a82027e
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 ...