1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt f82aaea3ff avcodec/h263: Fix global-buffer-overflow with noout flag2 set
h263_get_motion_length() forgot to take an absolute value;
as a consequence, a negative index was used to access an array.
This leads to potential crashes, but mostly it just accesses what
is to the left of ff_mvtab (unless one uses ASAN), thereby defeating
the purpose of the AV_CODEC_FLAG2_NO_OUTPUT because the sizes of
the returned packets differ from the sizes the encoder would actually
have produced.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 9207dc3b0db368bb9cf5eb295cbc1129c2975e31)
2022-01-11 15:15:53 +01:00
..
2021-02-27 17:09:44 +01:00
2021-01-01 15:25:48 +01:00
2021-01-01 15:25:48 +01:00
2021-06-18 20:53:56 +02:00
2021-03-05 19:45:00 +02:00
2021-09-08 21:31:50 +02:00
2020-12-08 17:51:48 +01:00
2020-12-08 17:51:47 +01:00
2021-03-09 13:41:22 +01:00
2021-02-27 17:09:44 +01:00
2021-03-01 06:10:44 +01:00
2021-03-01 17:36:42 +01:00
2021-03-01 17:36:42 +01:00
2021-02-09 15:01:34 +01:00
2021-03-09 13:41:22 +01:00
2021-03-08 19:19:19 +01:00
2021-03-09 13:41:22 +01:00
2021-01-08 05:05:10 +01:00
2021-01-21 17:13:54 +00:00
2021-01-21 17:13:54 +00:00
2021-01-21 17:13:54 +00:00
2021-03-01 06:10:44 +01:00
2021-03-08 19:19:19 +01:00
2021-03-09 13:41:22 +01:00
2020-12-31 11:49:43 +01:00
2020-12-08 17:51:47 +01:00
2021-01-01 15:25:48 +01:00
2021-01-01 15:25:48 +01:00
2021-03-01 17:36:16 +01:00
2021-03-09 13:41:22 +01:00
2021-03-09 13:41:22 +01:00
2021-02-02 14:29:33 +01:00
2021-03-09 13:41:22 +01:00
2021-04-03 13:29:30 +02:00
2021-04-01 11:38:44 +02:00
2021-10-05 23:19:39 +02:00
2021-03-05 19:45:00 +02:00
2021-04-02 21:40:54 +02:00
2021-03-09 13:41:22 +01:00
2021-01-25 00:18:47 +01:00
2021-01-01 15:25:48 +01:00
2021-09-21 23:20:29 -03:00