diff options
| author | lhchavez <lhchavez@lhchavez.com> | 2022-06-11 14:31:16 -0700 |
|---|---|---|
| committer | lhchavez <lhchavez@lhchavez.com> | 2022-06-11 14:31:16 -0700 |
| commit | 0a7c00be7fb5e85574bbe4676465b24b22f40e87 (patch) | |
| tree | 2002cc48489ef3735a487899b6bf4170399d147a /fuzzers/packfile_fuzzer.c | |
| parent | a75416761c28326262b8c48ebc81f34702fa33b1 (diff) | |
| parent | 2b28ee77ca5f03f90f616abb718168fcff6756aa (diff) | |
| download | libgit2-0a7c00be7fb5e85574bbe4676465b24b22f40e87.tar.gz | |
Merge remote-tracking branch 'origin/main' into main
Diffstat (limited to 'fuzzers/packfile_fuzzer.c')
| -rw-r--r-- | fuzzers/packfile_fuzzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzers/packfile_fuzzer.c b/fuzzers/packfile_fuzzer.c index 6002fa1de..23ecaf80f 100644 --- a/fuzzers/packfile_fuzzer.c +++ b/fuzzers/packfile_fuzzer.c @@ -94,7 +94,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) fprintf(stderr, "Failed to compute the SHA1 hash\n"); abort(); } - if (git_indexer_append(indexer, &oid, sizeof(oid), &stats) < 0) { + if (git_indexer_append(indexer, &oid.id, GIT_OID_RAWSZ, &stats) < 0) { goto cleanup; } } |
