Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 7e27bd589d328b9daf154c2444d1a86ec3afedb0 authored by Junio C Hamano on 29 October 2021, 22:43:50 UTC
Git 2.34-rc0
Tip revision: 7e27bd5
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