Skip to content
Permalink
Browse files Browse the repository at this point in the history
issue #68: clear WaveHeader at start to prevent uninitialized read
  • Loading branch information
dbry committed Mar 6, 2019
1 parent f68a955 commit 33a0025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/wave64.c
Expand Up @@ -56,6 +56,7 @@ int ParseWave64HeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa
int format_chunk = 0;
uint32_t bcount;

CLEAR (WaveHeader);
infilesize = DoGetFileSize (infile);
memcpy (&filehdr, fourcc, 4);

Expand Down

0 comments on commit 33a0025

Please sign in to comment.