]> granicus.if.org Git - libvpx/commit
Fix potential buffer over-read in highbd d117 predictor Neon
authorGeorge Steed <george.steed@arm.com>
Mon, 6 Mar 2023 13:24:47 +0000 (13:24 +0000)
committerGeorge Steed <george.steed@arm.com>
Mon, 6 Mar 2023 13:34:35 +0000 (13:34 +0000)
commit33f3ae34144ea42bbf97d812ef23dccfc4bb8662
tree2bf6ca4e60f8f41643d4df529c838945912a25c6
parent7e88600bf90787765c3e98d5f0bd7cf72b74d6ba
Fix potential buffer over-read in highbd d117 predictor Neon

The load of `left[bs]` in the standard bitdepth d117 Neon implementation
triggered an address-sanitizer failure.

The highbd equivalent does not appear to trigger any asan failures when
running the VP9/ExternalFrameBufferMD5Test or
VP9/TestVectorTest.MD5Match tests, but for consistency with the standard
bitdepth implementation we adjust it to avoid the over-read.

Performance is roughly identical, with a 0.8% performance improvement on
average over the previous optimised code.

Change-Id: I05dc4d43f244f4915c0ccc52cc0af999bbacb018
vpx_dsp/arm/highbd_intrapred_neon.c