Merge branch 'ab/test-lib-updates'
[git/debian.git] / fuzz-pack-headers.c
blob99da1d0fd385eb3bc0c7f0b4a0b8cd167e0cb5e0
1 #include "packfile.h"
3 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
5 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
7 enum object_type type;
8 unsigned long len;
10 unpack_object_header_buffer((const unsigned char *)data,
11 (unsigned long)size, &type, &len);
13 return 0;