diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-09-18 05:25:58 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-09-29 17:48:38 +0100 |
commit | f3333c3c67e8825a4468120bb8aa0943c72c03f3 (patch) | |
tree | 4a681aa02f48cfe33803aa218d39ecdcaa6e1b83 /doc | |
parent | e3f0ecfc57889de0e0a359ec30b77851d53cea87 (diff) | |
download | ffmpeg-f3333c3c67e8825a4468120bb8aa0943c72c03f3.tar.gz |
avcodec/cbs_h2645: Fix potential out-of-bounds array access
The maximum allowed index for an array access is FF_ARRAY_ELEMS - 1; yet
the current code allowed FF_ARRAY_ELEMS. This wasn't dangerous in practice,
as parameter sets with invalid ids were already filtered out during
reading.
Found via PVS-Studio (see ticket #8156).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions