Skip to content

Commit 33a0025

Browse files
committed
issue #68: clear WaveHeader at start to prevent uninitialized read
1 parent f68a955 commit 33a0025

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cli/wave64.c

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ int ParseWave64HeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa
5656
int format_chunk = 0;
5757
uint32_t bcount;
5858

59+
CLEAR (WaveHeader);
5960
infilesize = DoGetFileSize (infile);
6061
memcpy (&filehdr, fourcc, 4);
6162

0 commit comments

Comments
 (0)