projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
url: do not allow %00 to represent NUL in URLs
[git]
/
fuzz-pack-headers.c
1
#include "packfile.h"
2
3
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
4
5
int 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
}