diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-24 06:34:17 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-09 13:46:07 +0200 |
commit | 14226be499d27935d54981f0a6e1b15fd65746cd (patch) | |
tree | 3285ddc079d93397205fd547205f565c0f0e47c2 /ffbuild/pkgconfig_generate.sh | |
parent | 7b74e02ef2d0099a2e1f1d1cefc1fce2e041f618 (diff) | |
download | ffmpeg-14226be499d27935d54981f0a6e1b15fd65746cd.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>
Diffstat (limited to 'ffbuild/pkgconfig_generate.sh')
0 files changed, 0 insertions, 0 deletions