Files
ffmpeg/libavcodec
Marvin Scholz d19d80efd2 avcodec/aac: fix null dereference in che_configure
During USAC decoding (ff_aac_usac_decode_frame), configuration elements
can be mapped and instantiated via che_configure(). For newly allocated
ChannelElement structs, che_configure calls sbr_ctx_alloc_init() which
dynamically allocates ac->che[type][id]. However, che_configure did not
subsequently map the output pointer of the nested SingleChannelElement
elements back to their statically-sized internal ret_buf arrays, causing
a null pointer dereference during IMDCT windowing.

The fix explicitly initializes these pointers following allocation.

Signed-off-by: Marvin Scholz <epirat07@gmail.com>
(cherry picked from commit 8319541103)
2026-10-21 19:42:49 +00:00
..
2025-08-03 13:48:47 +02:00
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-02-26 17:12:08 +01:00
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
2024-08-14 18:21:01 +02:00
…
…
…
2025-08-08 18:29:41 +09:00
2025-08-03 13:48:47 +02:00
2025-02-04 00:14:14 +01:00
2025-08-03 13:48:47 +02:00
2025-07-29 23:38:16 +02:00
…
…
2025-08-03 13:48:47 +02:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
…
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2024-04-06 09:26:30 +02:00
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
2024-03-31 00:08:43 +01:00
…
…
…
…
2026-05-03 19:50:03 +02:00
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
2025-05-15 01:51:34 +02:00
2025-08-03 13:48:47 +02:00
…
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2017-03-20 09:23:15 +01:00
…
2024-03-31 00:08:43 +01:00
…
…
…
…
2022-11-06 14:39:37 +01:00
2022-01-04 13:16:49 +01:00
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
2026-05-03 19:57:07 +02:00
2023-09-07 00:42:10 +02:00
…
2024-04-04 23:58:57 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
…
…
2023-11-14 19:15:51 +02:00
2023-10-09 19:52:51 +03:00
…
…
…
…
…
2025-08-07 19:44:59 +00:00
2025-08-03 13:19:25 +00:00
…
2025-08-03 13:48:47 +02:00
…
2025-07-03 20:35:23 +02:00
2024-05-13 03:40:17 +02:00
…
…
…
…
2025-11-19 02:05:00 +01:00
2025-08-19 17:56:43 +02:00
2025-06-23 17:16:42 +10:00
…
…
…
…
…
2022-10-20 06:57:30 +02:00
2025-05-13 00:20:23 +02:00
2025-08-03 13:48:47 +02:00
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
…
…
2025-01-01 20:31:08 +01:00
2025-08-03 13:48:47 +02:00
…
…
…
2025-06-06 17:21:37 +02:00
2025-08-03 13:19:25 +00:00
2025-08-03 13:19:25 +00:00
…
2024-09-24 15:37:19 +02:00
…
…
…
2025-07-20 01:05:23 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
…
…
2026-05-03 19:56:51 +02:00
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
…
2026-06-14 04:59:13 +02:00
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
2025-05-09 22:26:51 +02:00
2025-08-03 13:48:47 +02:00
2025-08-06 21:04:56 +00:00
…
…
…
2023-02-09 15:35:14 +01:00
2017-02-21 00:40:20 +01:00
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-05-03 19:57:01 +02:00
2024-03-31 00:08:43 +01:00
2025-08-03 13:48:47 +02:00
2025-11-19 02:05:02 +01:00
2025-08-03 13:48:47 +02:00
…
…
2025-08-08 01:06:11 +09:00
2024-03-31 00:08:43 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
…
2023-11-09 12:53:35 +01:00
…
2025-08-08 18:29:40 +09:00
2025-08-08 18:29:40 +09:00
2025-08-03 13:48:47 +02:00
…
2014-02-21 16:57:26 -03:00
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
2025-07-03 20:34:51 +02:00
…
…
…
…
2025-08-03 13:48:47 +02:00
…
2025-07-03 20:35:23 +02:00
2014-04-22 20:44:31 +02:00
…
2024-05-03 18:00:53 +03:00
…
2024-05-03 18:00:53 +03:00
2024-11-03 10:53:15 +11:00
2026-05-03 19:50:05 +02:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
…
…
2025-04-02 09:25:46 +02:00
2025-04-02 09:25:46 +02:00
…
2025-08-19 17:56:42 +02:00
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
2025-03-20 07:10:17 +01:00
…
…
…
2024-06-03 14:13:34 +02:00
2021-10-10 17:44:41 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-08-06 18:27:01 -03:00
…
…
…
…
…
…
…
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
…
2025-08-03 13:48:47 +02:00
2025-06-21 22:08:52 +02:00
…
…
2023-12-08 17:20:48 +02:00
2025-08-03 13:48:47 +02:00
2025-02-09 20:27:49 -06:00
2026-06-18 15:02:24 +02:00
2024-03-31 00:08:43 +01:00
…
…
2025-08-03 13:48:47 +02:00
2026-05-03 19:50:10 +02:00
…
…
…
2024-10-31 17:49:48 +11:00
2025-04-25 23:01:37 +02:00
…
2025-08-03 13:48:47 +02:00
…
…
…
…
2024-04-29 20:46:05 +03:00
2024-04-19 13:18:04 +02:00
…
2024-10-31 17:49:48 +11:00
…
…
…
…
2025-08-08 18:29:40 +09:00
2025-08-08 18:29:40 +09:00
…
2025-08-03 13:48:47 +02:00
2025-04-25 23:01:38 +02:00
2025-08-04 09:12:17 +00:00
…
…
2025-07-03 20:35:23 +02:00
…
…
2024-09-24 15:37:20 +02:00
…
…
…
…
…
2022-09-17 10:15:01 +02:00
2026-05-03 19:56:54 +02:00