mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
init out char array with all members as 0 x2
This commit is contained in:
parent
b4ecf724b1
commit
0b24fc0a11
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ int gzclose _Z_OF((gzFile));
|
|||
|
||||
int gzclose(gzFile gz) {
|
||||
z_stream *strm;
|
||||
unsigned char out[BUFLEN] = 0;
|
||||
unsigned char out[BUFLEN] = { 0 };
|
||||
|
||||
if (gz == NULL)
|
||||
return Z_STREAM_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue