[x264-devel] arm/aarch64: use plane_copy wrapper macros
Janne Grunau
git at videolan.org
Tue Sep 20 20:57:50 CEST 2016
x264 | branch: master | Janne Grunau <janne-x264 at jannau.net> | Fri Aug 26 20:26:55 2016 +0300| [5caef139cf7d6b41a95ee9568625d36d1ae1c107] | committer: Henrik Gramner
arm/aarch64: use plane_copy wrapper macros
Move the macros to common/mc.h to share them across all architectures.
Fixes possible buffer overreads if the width of the user supplied frames
is not a multiple of 16.
Reported-by: Kirill Batuzov <batuzovk at ispras.ru>
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=5caef139cf7d6b41a95ee9568625d36d1ae1c107
---
common/aarch64/mc-a.S | 4 +--
common/aarch64/mc-c.c | 13 +++++---
common/arm/mc-a.S | 6 ++--
common/arm/mc-c.c | 18 ++++++----
common/mc.h | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++
common/x86/mc-c.c | 89 -------------------------------------------------
6 files changed, 116 insertions(+), 106 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=5caef139cf7d6b41a95ee9568625d36d1ae1c107
More information about the x264-devel
mailing list