This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 5474b1e05a6d235cea5fd62bc0266c62e4de8947
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Sep 29 01:25:17 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 00:46:36 2026 +0000

    avfilter/af_arnndn: zero the GRU input vectors before filling them
    
    Fixes: use of uninitialized memory
    Found during review of the security fix for BiaeRPmt9wwq
    Replicated through UnModified FFmpeg
---
 libavfilter/af_arnndn.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavfilter/af_arnndn.c b/libavfilter/af_arnndn.c
index bc9fc3ad11..dd51a83e7f 100644
--- a/libavfilter/af_arnndn.c
+++ b/libavfilter/af_arnndn.c
@@ -1342,6 +1342,9 @@ static void compute_rnn(AudioRNNContext *s, RNNState 
*rnn, float *gains, float *
     LOCAL_ALIGNED_32(float, noise_input,   [MAX_NEURONS * 3]);
     LOCAL_ALIGNED_32(float, denoise_input, [MAX_NEURONS * 3]);
 
+    memset(dense_out,     0, MAX_NEURONS     * sizeof(float));
+    memset(noise_input,   0, MAX_NEURONS * 3 * sizeof(float));
+    memset(denoise_input, 0, MAX_NEURONS * 3 * sizeof(float));
     compute_dense(rnn->model->input_dense, dense_out, input);
     compute_gru(s, rnn->model->vad_gru, rnn->vad_gru_state, dense_out);
     compute_dense(rnn->model->vad_output, vad, rnn->vad_gru_state);

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to