Staging
v0.5.1
v0.5.1
Revision b927c80531cca9b9107754186532e8cb00884008 authored by Junio C Hamano on 22 October 2020, 22:07:25 UTC, committed by Junio C Hamano on 22 October 2020, 22:07:25 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 380ba99
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 ...