Files
FFmpeg/libavcodec
Andreas Rheinhardt ca04589371 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>
(cherry picked from commit f3333c3c67)
2020-05-20 00:10:47 +02:00
..
2019-06-12 20:06:20 +10:00
2019-06-26 21:25:10 +02:00
2019-12-31 16:57:37 -03:00
2019-12-31 16:57:37 -03:00
2019-12-31 16:57:37 -03:00
2019-06-12 20:06:20 +10:00
2019-09-04 20:26:35 +02:00
2020-05-19 17:17:36 +02:00
2019-12-31 19:51:57 +01:00
2019-06-29 19:22:19 +02:00
2019-07-01 13:24:57 +08:00
2019-09-04 20:26:35 +02:00
2020-05-19 17:17:36 +02:00
2019-09-02 13:53:08 -07:00
2020-05-19 17:17:36 +02:00
2020-05-19 17:17:35 +02:00
2020-05-19 17:17:35 +02:00
2019-09-04 20:26:35 +02:00
2019-12-31 19:51:57 +01:00
2019-07-08 09:38:03 +02:00
2019-12-31 19:51:56 +01:00
2019-12-31 19:51:56 +01:00
2019-06-12 20:06:20 +10:00
2019-12-31 19:51:56 +01:00
2019-09-04 20:26:35 +02:00
2019-09-04 20:26:35 +02:00
2019-08-05 19:34:33 +02:00