Skip to content
Permalink
Browse files

issue #68: clear WaveHeader at start to prevent uninitialized read

  • Loading branch information...
dbry committed Mar 6, 2019
1 parent f68a955 commit 33a0025d1d63ccd05d9dbaa6923d52b1446a62fe
Showing with 1 addition and 0 deletions.
  1. +1 −0 cli/wave64.c
@@ -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);

0 comments on commit 33a0025

Please sign in to comment.
You can’t perform that action at this time.