mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
15 lines
309 B
C
15 lines
309 B
C
|
#include "packfile.h"
|
||
|
|
||
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
|
||
|
|
||
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||
|
{
|
||
|
enum object_type type;
|
||
|
unsigned long len;
|
||
|
|
||
|
unpack_object_header_buffer((const unsigned char *)data,
|
||
|
(unsigned long)size, &type, &len);
|
||
|
|
||
|
return 0;
|
||
|
}
|