]> git.ipfire.org Git - thirdparty/git.git/blame - fuzz-pack-headers.c
l10n: fr v2.24.0 rnd2
[thirdparty/git.git] / fuzz-pack-headers.c
CommitLineData
5e472150
JS
1#include "packfile.h"
2
3int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
4
5int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
6{
7 enum object_type type;
8 unsigned long len;
9
10 unpack_object_header_buffer((const unsigned char *)data,
11 (unsigned long)size, &type, &len);
12
13 return 0;
14}