]> git.ipfire.org Git - thirdparty/git.git/blob - fuzz-pack-idx.c
Merge branch 'jk/add-ignore-errors-bit-assignment-fix'
[thirdparty/git.git] / fuzz-pack-idx.c
1 #include "object-store.h"
2 #include "packfile.h"
3
4 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
5
6 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
7 {
8 struct packed_git p;
9
10 load_idx("fuzz-input", GIT_SHA1_RAWSZ, (void *)data, size, &p);
11
12 return 0;
13 }