Files
FFmpeg/libavcodec
Weidong Wang 5f3122760f avcodec/xxan: zero-initialize y_buffer
Fixes ticket #22420.

When the first decoded frame is type 1, xan_decode_frame_type1() reads y_buffer as prior-frame state before any data has been written to it.
Since y_buffer is allocated with av_malloc(), this may propagate uninitialized heap data into the decoded luma output.

Allocate y_buffer with av_mallocz() instead.

(cherry picked from commit 236dbc9f82)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-03-16 17:23:47 +01:00
..
2025-11-05 16:31:59 +00:00
2025-10-08 20:40:08 +02:00
2025-12-13 18:45:17 -03:00
2025-11-26 15:16:42 +01:00
2025-11-08 18:48:54 +01:00
2026-03-10 19:32:38 +01:00
2025-10-30 03:41:24 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2025-11-26 15:16:43 +01:00
2026-02-23 23:58:11 +01:00
2025-12-13 18:45:17 -03:00
2026-03-15 00:49:55 +01:00
2026-03-07 19:22:40 -03:00
2025-12-30 17:30:45 +00:00
2026-01-02 18:39:48 +01:00
2026-03-07 19:22:40 -03:00
2026-01-10 22:47:22 +01:00
2026-02-04 12:05:35 +08:00
2026-02-04 12:05:35 +08:00
2026-02-11 20:35:20 +00:00
2026-02-19 22:39:35 +00:00
2026-03-02 19:01:46 +01:00
2026-03-02 19:01:46 +01:00
2026-03-08 02:29:20 +01:00
2026-03-03 02:41:05 +01:00
2026-03-03 02:13:58 +00:00
2025-12-30 14:39:08 -05:00
2025-12-30 14:39:08 -05:00
2026-02-23 15:29:27 +00:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-03-16 17:23:47 +01:00