Staging
v0.5.1
Revision 034d33653a9ba978bdc1481862bcb401cff074d9 authored by Jiang Xin on 30 October 2019, 06:02:22 UTC, committed by Jiang Xin on 30 October 2019, 06:02:22 UTC
* 'next' of github.com:ChrisADR/git-po:
  l10n: es: 2.24.0 round 2
2 parent s 1294a85 + 77200e9
Raw File
fuzz-pack-headers.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;
}
back to top