1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
ffmpeg/libavformat
Paulo Cabral Sanz c2394a0ff3 avformat/binka: reject truncated packet reads
binka_read_packet() calls avio_read() into a buffer from av_new_packet()
and ignores the return value. packet_alloc() only zeroes the 64-byte
padding; the payload is left uninitialized.

pkt_size is avio_rl16() + 4 (max 65539). On a truncated file the demuxer
still returns 0, so av_read_frame delivers up to 64 KiB of uninitialized
heap per packet. ffmpeg -c copy writes those bytes into the output.

Use ffio_read_size() so a short read fails the packet with
AVERROR_INVALIDDATA. Same class as 29f513a (fsb) and 4b47405 (genh).

Signed-off-by: Paulo Cabral Sanz <paulosanz@poli.ufrj.br>
2026-08-31 13:44:32 +00:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
2026-08-27 00:11:44 +02:00
2026-03-10 13:52:18 +01:00
…
…
…
2025-09-08 20:59:31 +00:00
2025-04-13 22:49:21 +02:00
…
…
…
…
2026-06-23 19:15:57 +02:00
…
2025-08-03 13:48:47 +02:00
…
…
…
…
2026-06-23 19:15:57 +02:00
…
2026-03-10 13:52:18 +01:00
2026-06-23 19:15:57 +02:00
…
…
2026-05-08 09:34:52 +02:00
…
…
…
2026-06-23 19:15:57 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
…
2026-08-21 03:38:24 +00:00
…
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
…
2026-06-23 19:15:57 +02:00
…
…
…
…
…
…
2024-06-19 10:12:50 -03:00
…
…
…
2026-06-23 19:15:57 +02:00
…
…
…
…
2026-05-29 01:49:20 +00:00
…
…
…
2025-08-03 13:48:47 +02:00
2025-06-23 17:19:18 +10:00
…
…
…
2026-08-12 01:14:58 +02:00
…
…
…
…
2026-02-25 02:55:43 +00:00
2025-08-03 13:48:47 +02:00
…
2024-07-21 16:41:23 +02:00
2026-02-18 08:20:10 +00:00
…
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
2026-06-16 09:18:24 -03:00
…
…
…
…
2026-03-10 13:52:18 +01:00
…
…
…
2026-07-27 17:05:20 +00:00
…
…
2025-08-03 13:48:47 +02:00
…
…
…
2025-08-04 03:59:42 +00:00
…
2025-08-03 13:48:47 +02:00
…
…
2026-04-28 12:29:37 +00:00
…
…
…
…
2026-08-21 03:38:24 +00:00
2026-03-10 13:52:18 +01:00
…
…
…
…
…
…
…
…
2026-07-10 17:45:09 +00:00
…
…
…
2025-03-28 15:23:28 +01:00
…
…
…
…
…
2026-05-03 13:26:34 +00:00
…
…
…
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
2026-06-23 19:13:06 +02:00
…
2024-11-03 10:53:15 +11:00
…
2026-05-03 18:22:46 +02:00
2026-03-10 13:52:18 +01:00
…
…
…
…
…
…
…
…
…
…
2025-06-23 17:19:18 +10:00
…
…
…
…
…
…
…
…
2026-08-09 17:24:59 +00:00
…
…
…
…
…
…
2026-03-10 13:52:18 +01:00
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
2026-03-10 13:52:18 +01:00
…
2026-06-23 19:15:57 +02:00
…
…
…
…
…
2026-03-10 13:52:18 +01:00
…
…
…
2024-07-21 17:02:11 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2026-02-25 02:55:43 +00:00
2026-03-10 13:52:18 +01:00
2026-08-15 08:14:15 +00:00
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
…
…