Revision abcb63fb70a69956a892fa830f3866098797787c authored by Johannes Schindelin on 11 March 2023, 19:47:34 UTC, committed by Johannes Schindelin on 17 April 2023, 19:15:57 UTC
Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent d6e9f67
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 ...