Skip to content

Commit

Permalink
speexenc: ensure input buffer is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
tmatth committed Jul 6, 2022
1 parent 5dceaaf commit 0a92701
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/speexenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ int main(int argc, char **argv)

comment_init(&comments, &comments_length, vendor_string);

memset(input, 0, sizeof(input));

/*Process command-line options*/
while(1)
{
Expand Down

0 comments on commit 0a92701

Please sign in to comment.