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>pull/323/head
parent
e3f0ecfc57
commit
f3333c3c67
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue