1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavcodec
Janne Grunau 7b0213a111 vp9: recon: Use emulated edge to prevent buffer overflows
The arm/aarch64 horizontal filter reads one additional pixel beyond what
the filter uses. This can become an issue if the application does not
allocate larger buffers than what's required for the pixel data. If the
motion vector points to the bottom right edge of the picture this
becomes a read buffer overflow. This triggers segfaults in Firefox for
video resolutions which result in a page aligned picture size like
1280x640.
Prevent this by using emulated edge in this case.

Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1881185
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 060464105bdca82b8cfb91c7a6fb56df4c7cd9d0)
2025-01-04 07:31:10 -05:00
..
2023-12-21 22:44:01 +01:00
2021-06-18 20:53:56 +02:00
2022-09-25 13:51:42 +02:00
2021-03-05 19:45:00 +02:00
2022-04-06 20:27:35 +02: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
2024-07-21 21:45:17 +02:00
2021-03-09 13:41:22 +01:00
2024-07-21 21:45:38 +02:00
2024-06-15 23:32:48 +02:00
2021-03-08 19:19:19 +01:00
2021-03-09 13:41:22 +01:00
2024-06-15 23:32:47 +02:00
2022-09-25 13:51:46 +02:00
2024-07-21 22:12:46 +02:00
2024-06-15 23:32:58 +02:00
2021-03-01 06:10:44 +01:00
2024-07-21 22:14:13 +02:00
2022-04-06 20:27:35 +02:00
2021-03-09 13:41:22 +01:00
2021-03-01 17:36:16 +01:00
2021-03-09 13:41:22 +01:00
2021-02-02 14:29:33 +01:00
2021-04-03 13:29:30 +02:00
2023-04-07 23:40:40 +02:00
2021-04-01 11:38:44 +02:00
2021-10-05 23:19:39 +02:00
2023-04-07 23:40:39 +02:00
2023-12-21 22:43:44 +01:00
2021-03-05 19:45:00 +02:00
2021-04-02 21:40:54 +02:00
2024-06-15 23:32:49 +02:00
2024-06-15 23:32:57 +02:00
2021-01-25 00:18:47 +01:00
2021-09-21 23:20:29 -03:00
2022-09-25 13:51:43 +02:00