Janne Grunau
7f1e209028
aarch64: vp9mc: Load only 12 pixels in the 4 pixel wide horizontal filter
...
This reduces the amount the horizontal filters read beyond the filter
width to a consistent 1 pixel. The data is not used so this is usually
not noticeable. It becomes a problem when the application allocates
frame buffers only for the aligned picture size and the end of it is at
a page boundary. This happens for picture sizes which are a multiple of
the page size like 1280x640. The frame buffer allocation is based on
its most likely done via mmap + MAP_ANONYMOUS so start and end of the
buffer are page aligned and the previous and next page are not
necessarily mapped.
Under these conditions like seen by Firefox a read beyond the end of the
buffer results in a segfault.
After the over-read is reduced to a single pixel it's reasonable to use
VP9's emulated edge motion compensation for this.
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 430c38f698a65d597e863330810b05e083682be6)
2025-01-04 07:31:16 -05:00
..
2025-01-04 07:31:16 -05:00
2024-08-16 13:45:51 +03:00
2024-03-27 20:11:57 +08:00
2024-03-15 12:51:15 +01:00
2024-03-18 01:49:38 +01:00
2024-04-05 01:48:56 +02:00
2024-05-28 19:47:04 +03:00
2024-07-25 20:34:04 +02:00
2024-07-25 20:34:29 +02:00
2024-05-22 16:50:05 +02:00
2024-03-18 01:49:38 +01:00
2024-03-18 01:49:38 +01:00
2024-08-01 12:14:46 -03:00
2024-03-15 12:51:15 +01:00
2024-05-22 22:04:31 +02:00
2024-03-17 15:10:05 +01:00
2024-05-25 01:45:33 +02:00
2024-07-25 20:36:19 +02:00
2024-05-22 22:04:35 +02:00
2024-03-23 18:55:21 +01:00
2024-03-23 18:55:21 +01:00
2024-03-23 18:55:21 +01:00
2024-04-03 14:42:12 +02:00
2024-05-22 22:04:31 +02:00
2024-03-25 08:54:18 +01:00
2024-05-22 22:04:34 +02:00
2024-05-06 21:33:03 +01:00
2024-03-20 19:15:05 +02:00
2024-05-22 22:04:33 +02:00
2024-05-22 22:04:33 +02:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-04-02 14:32:00 +02:00
2024-03-25 08:54:18 +01:00
2024-07-25 20:34:23 +02:00
2024-03-25 08:32:04 +01:00
2024-05-20 14:31:03 -03:00
2024-05-22 22:04:29 +02:00
2024-07-25 20:34:18 +02:00
2024-03-26 09:05:04 -04:00
2024-03-18 01:49:38 +01:00
2024-07-25 20:36:21 +02:00
2024-04-24 00:17:16 -03:00
2024-07-25 20:34:34 +02:00
2024-05-22 22:04:40 +02:00
2024-03-17 15:10:05 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-22 14:05:30 +01:00
2024-03-15 12:51:15 +01:00
2024-07-25 20:34:34 +02:00
2024-03-15 12:51:15 +01:00
2024-05-22 22:04:40 +02:00
2024-03-23 11:37:44 +01:00
2024-03-23 11:37:44 +01:00
2024-07-25 20:34:38 +02:00
2024-05-22 22:04:39 +02:00
2024-04-02 14:32:00 +02:00
2024-03-25 20:44:30 +00:00
2024-07-25 20:34:35 +02:00
2024-05-22 22:04:39 +02:00
2024-03-15 12:51:15 +01:00
2024-05-22 22:04:39 +02:00
2024-03-23 18:55:21 +01:00
2024-03-26 23:19:49 +01:00
2024-07-25 20:36:22 +02:00
2024-03-13 23:29:02 +01:00
2024-09-12 10:32:30 +02:00
2024-03-29 14:52:48 -03:00
2024-03-29 14:52:48 -03:00
2024-09-13 12:18:43 +02:00
2024-03-13 23:29:02 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-07-25 20:34:35 +02:00
2024-07-25 20:34:06 +02:00
2024-07-25 20:34:35 +02:00
2024-03-25 20:44:30 +00:00
2024-03-19 09:44:59 -03:00
2024-07-25 20:34:42 +02:00
2024-07-25 20:34:13 +02:00
2024-03-23 11:34:34 +01:00
2024-03-23 11:34:34 +01:00
2024-05-22 22:04:41 +02:00
2024-04-03 14:42:09 +02:00
2024-11-13 10:38:27 -05:00
2024-07-25 20:34:36 +02:00
2024-03-23 18:54:36 +01:00
2024-03-12 17:36:05 -04:00
2024-03-22 17:04:05 +01:00
2024-03-22 23:38:16 +01:00
2024-07-25 20:34:12 +02:00
2024-07-25 20:34:07 +02:00
2024-10-06 13:28:38 +02:00
2024-07-25 20:34:36 +02:00
2024-04-05 01:49:05 +02:00
2024-04-05 01:49:05 +02:00
2024-05-22 22:04:38 +02:00
2024-04-02 14:32:00 +02:00
2024-04-04 21:54:22 +02:00
2024-03-23 11:37:44 +01:00
2024-05-31 20:11:13 +08:00
2024-07-25 20:34:19 +02:00
2024-03-12 14:37:49 +01:00
2024-07-25 20:34:37 +02:00
2024-07-25 20:34:37 +02:00
2024-05-22 22:04:43 +02:00
2024-03-14 21:52:16 +01:00
2024-05-22 22:04:43 +02:00
2024-07-25 20:34:43 +02:00
2024-03-17 15:10:05 +01:00
2024-03-15 12:51:15 +01:00
2024-03-17 15:10:05 +01:00
2024-03-26 06:30:45 +01:00
2024-07-25 20:34:41 +02:00
2024-05-22 22:04:44 +02:00
2024-05-22 22:04:44 +02:00
2024-07-25 20:34:05 +02:00
2024-03-30 00:16:21 +01:00
2024-07-01 20:05:17 +02:00
2024-04-01 01:00:47 +02:00
2024-03-20 19:15:05 +02:00
2024-03-15 12:51:15 +01:00
2024-07-25 20:36:21 +02:00
2024-03-13 00:52:30 +01:00
2024-07-31 10:02:55 -03:00
2024-07-31 10:02:55 -03:00
2024-07-25 20:34:05 +02:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-07-25 20:34:37 +02:00
2024-07-30 05:45:01 -04:00
2024-07-30 05:45:08 -04:00
2024-07-25 20:34:43 +02:00
2024-07-25 20:36:20 +02:00
2024-07-25 20:34:05 +02:00
2024-07-25 20:34:32 +02:00
2024-03-26 23:19:49 +01:00
2024-06-24 00:10:37 +02:00
2024-05-22 22:04:40 +02:00
2024-07-25 20:34:14 +02:00
2024-03-26 23:19:49 +01:00
2024-07-25 20:34:04 +02:00
2024-05-26 14:14:51 +03:00
2024-07-25 20:34:04 +02:00
2024-07-25 20:34:02 +02:00
2024-08-02 22:14:46 +02:00
2024-07-25 20:34:13 +02:00
2024-07-25 20:34:14 +02:00
2024-03-14 20:37:03 +01:00
2024-07-25 20:34:41 +02:00
2024-03-14 20:37:03 +01:00
2024-03-12 14:37:49 +01:00
2024-03-26 23:19:49 +01:00
2024-08-02 22:14:46 +02:00
2024-04-02 14:32:00 +02:00
2024-07-25 20:34:42 +02:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-07-25 20:36:20 +02:00
2024-03-18 12:00:14 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-08-05 09:32:37 +08:00
2024-05-22 22:04:42 +02:00
2024-07-25 20:34:19 +02:00
2024-07-25 20:34:42 +02:00
2024-03-27 01:04:53 +01:00
2024-07-26 20:13:07 +08:00
2024-07-25 20:34:00 +02:00
2024-03-25 21:41:26 +01:00
2024-03-17 15:10:05 +01:00
2024-05-22 22:04:41 +02:00
2024-07-25 20:34:06 +02:00
2024-05-27 12:37:27 +02:00
2024-05-22 22:04:42 +02:00
2024-05-06 21:33:30 +01:00
2024-04-16 18:14:32 +02:00
2024-04-16 18:14:32 +02:00
2024-03-21 11:31:32 -03:00
2024-03-25 08:54:40 +01:00
2024-03-23 22:49:29 +08:00
2024-05-22 22:04:35 +02:00
2024-04-05 17:42:01 +02:00
2024-07-25 20:34:03 +02:00
2024-07-25 20:34:33 +02:00