mirror of
https://github.com/systemd/systemd.git
synced 2025-02-20 01:58:18 +03:00
fuzz: fuzz-compress: fix copy-and-paste error: buf -> buf2 (#25431)
This commit is contained in:
parent
daefca4611
commit
f54f6d88b1
@ -55,7 +55,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||||||
|
|
||||||
size_t sw_alloc = MAX(h->sw_alloc, 1u);
|
size_t sw_alloc = MAX(h->sw_alloc, 1u);
|
||||||
buf2 = malloc(sw_alloc);
|
buf2 = malloc(sw_alloc);
|
||||||
if (!buf) {
|
if (!buf2) {
|
||||||
log_oom();
|
log_oom();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user