summaryrefslogtreecommitdiffstats
path: root/src/fuzz/fuzz-compress.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-19 23:22:44 +0200
committerGitHub <noreply@github.com>2021-05-19 23:22:44 +0200
commited056c560b47f84a0aa0289151f4ec91f786d24a (patch)
treea6090ba19eae10a48a8bf0e446b991f16aa872c3 /src/fuzz/fuzz-compress.c
parentMerge pull request #19603 from yuwata/network-link-get-by-name (diff)
parentalloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() (diff)
downloadsystemd-ed056c560b47f84a0aa0289151f4ec91f786d24a.tar.xz
systemd-ed056c560b47f84a0aa0289151f4ec91f786d24a.zip
Merge pull request #19653 from poettering/greedy-realloc-more
malloc_usable_size() tweaks
Diffstat (limited to 'src/fuzz/fuzz-compress.c')
-rw-r--r--src/fuzz/fuzz-compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-compress.c b/src/fuzz/fuzz-compress.c
index f94fd0673e..189bd210b5 100644
--- a/src/fuzz/fuzz-compress.c
+++ b/src/fuzz/fuzz-compress.c
@@ -73,7 +73,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
size_t sw_len = MIN(data_len - 1, h->sw_len);
- r = decompress_startswith(alg, buf, csize, &buf2, &sw_alloc, h->data, sw_len, h->data[sw_len]);
+ r = decompress_startswith(alg, buf, csize, &buf2, h->data, sw_len, h->data[sw_len]);
assert_se(r > 0);
return 0;