aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/aarch64
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-24 06:34:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:21:00 +0100
commitd5992cc1556380852e406f566f56dc250a993123 (patch)
tree48fed27a04353f517d38998bc7df485c76f8c72d /libavfilter/aarch64
parent9d82a7c813a14d741f4164b689111e80dde3bad6 (diff)
downloadffmpeg-d5992cc1556380852e406f566f56dc250a993123.tar.gz
avfilter/af_headphone: Don't overrun array
The headphone filter stores the channel position of the ith HRIR stream in the ith element of an array of 64 elements; but because there is no check for duplicate channels, it is easy to write beyond the end of the array by simply repeating channels. This commit adds a check for duplicate channels to rule this out. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 14226be499d27935d54981f0a6e1b15fd65746cd)
Diffstat (limited to 'libavfilter/aarch64')
0 files changed, 0 insertions, 0 deletions