interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / oss-fuzz / fuzz-pack-headers.c

15 lines · 316 bytes Raw Blame History
1#include "git-compat-util.h"
2#include "packfile.h"
3
4int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
5
6int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
7{
8 enum object_type type;
9 size_t len;
10
11 unpack_object_header_buffer((const unsigned char *)data,
12 size, &type, &len);
13
14 return 0;
15}