mirror of
https://github.com/systemd/systemd.git
synced 2025-01-28 21:47:38 +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);
|
||||
buf2 = malloc(sw_alloc);
|
||||
if (!buf) {
|
||||
if (!buf2) {
|
||||
log_oom();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user