Fix potential NULL-ptr dereference
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s
This commit is contained in:
parent
5afefb9496
commit
a81ec4434a
1 changed files with 2 additions and 0 deletions
|
@ -1259,6 +1259,8 @@ int simple_archiver_parse_archive_info(FILE *in_f, int_fast8_t do_extract,
|
|||
}
|
||||
uc_heap_buf[u16 - 1] = 0;
|
||||
fprintf(stderr, "Decompressor cmd: %s\n", uc_heap_buf);
|
||||
decompressor_cmd = heap_buf;
|
||||
heap_buf = NULL;
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "De/compressor flag is NOT set.\n");
|
||||
|
|
Loading…
Reference in a new issue