mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
FIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL;
This commit is contained in:
parent
886968335b
commit
704d552a77
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ int zlib_decompress(FILE *infile, FILE *outfile)
|
|||
compressed_fpga_stream.avail_out = DECOMPRESS_BUF_SIZE;
|
||||
compressed_fpga_stream.zalloc = fpga_deflate_malloc;
|
||||
compressed_fpga_stream.zfree = fpga_deflate_free;
|
||||
compressed_fpga_stream.opaque = Z_NULL;
|
||||
|
||||
ret = inflateInit2(&compressed_fpga_stream, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue