Staging
v0.5.1
v0.5.1
Revision bf949ade81106fbda068c1fdb2c6fd1cb1babe7e authored by Junio C Hamano on 16 May 2021, 12:04:46 UTC, committed by Junio C Hamano on 16 May 2021, 12:05:24 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e004fd6
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 ...