projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8869683
)
FIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL;
author
iceman1001
<iceman@iuse.se>
Tue, 19 Jan 2016 19:28:29 +0000
(20:28 +0100)
committer
iceman1001
<iceman@iuse.se>
Tue, 19 Jan 2016 19:28:29 +0000
(20:28 +0100)
client/fpga_compress.c
patch
|
blob
|
blame
|
history
diff --git
a/client/fpga_compress.c
b/client/fpga_compress.c
index a0ecbe485e3711fce4a4e20885de97d581e54d84..c67f676918c077c1e5ebcf0eb8f6f9e460fcce57 100644
(file)
--- a/
client/fpga_compress.c
+++ b/
client/fpga_compress.c
@@
-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);
Impressum
,
Datenschutz