From 0a927011748d64ba7a3abd24d7c2a8fc28f12c94 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Wed, 6 Jul 2022 13:13:10 -0400 Subject: [PATCH] speexenc: ensure input buffer is initialized Fixes https://github.com/xiph/speex/issues/11 --- src/speexenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/speexenc.c b/src/speexenc.c index 5273339..d8c7dd7 100644 --- a/src/speexenc.c +++ b/src/speexenc.c @@ -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) {