Staging
v0.5.1
Revision 7397ca33730626f682845f8691b39c305535611e authored by Jonathan Nieder on 19 April 2020, 23:31:07 UTC, committed by Jonathan Nieder on 19 April 2020, 23:31:07 UTC
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2 parent s 67b0a24 + b86a4be
Raw File
fuzz-pack-idx.c
#include "object-store.h"
#include "packfile.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
	struct packed_git p;

	load_idx("fuzz-input", GIT_SHA1_RAWSZ, (void *)data, size, &p);

	return 0;
}
back to top