mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
init out char array with all members as 0 x2
This commit is contained in:
@ -287,7 +287,7 @@ int gzclose _Z_OF((gzFile));
|
|||||||
|
|
||||||
int gzclose(gzFile gz) {
|
int gzclose(gzFile gz) {
|
||||||
z_stream *strm;
|
z_stream *strm;
|
||||||
unsigned char out[BUFLEN] = 0;
|
unsigned char out[BUFLEN] = { 0 };
|
||||||
|
|
||||||
if (gz == NULL)
|
if (gz == NULL)
|
||||||
return Z_STREAM_ERROR;
|
return Z_STREAM_ERROR;
|
||||||
|
Reference in New Issue
Block a user