Staging
v0.5.1
https://github.com/git/git
Revision 6ff7f460394745395f3eec1e414ad2300c6a402f authored by Johannes Schindelin on 12 February 2021, 14:50:05 UTC, committed by Johannes Schindelin on 12 February 2021, 14:50:05 UTC
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 2d1142a
Raw File
Tip revision: 6ff7f460394745395f3eec1e414ad2300c6a402f authored by Johannes Schindelin on 12 February 2021, 14:50:05 UTC
Git 2.27.1
Tip revision: 6ff7f46
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