Staging
v0.5.1
https://github.com/git/git
Revision a5fa49ff0a8f3252c6bff49f92b85e7683868f8a authored by Junio C Hamano on 15 October 2020, 18:58:37 UTC, committed by Junio C Hamano on 15 October 2020, 18:58:37 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d4a3924
Raw File
Tip revision: a5fa49ff0a8f3252c6bff49f92b85e7683868f8a authored by Junio C Hamano on 15 October 2020, 18:58:37 UTC
Git 2.29-rc2
Tip revision: a5fa49f
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