Changeset 94653e0 in ffmpeg
- Timestamp:
-
Aug 25, 2021, 3:56:35 AM
(3 years ago)
- Author:
- James Almer <jamrial@gmail.com>
- Branches:
- master
- Children:
- 460beb94
- Parents:
- b492cacf
- git-author:
- Niklas Haas <git@haasn.dev> (08/25/21 03:06:01)
- git-committer:
- James Almer <jamrial@gmail.com> (08/25/21 03:56:35)
- Message:
-
avcodec/h264dec: fix possible out-of-bounds array access
If slice_type is > 9, the access to ff_h264_golomb_to_pict_type is
out-of-bounds. Fix this by simply setting the slice_type to 0 in this
case.
This is completely inconsequential because the value is only being used
to being used as an offset in the calculation of the film grain seed
value, a corruption of which is practically invisible.
Fixes coverity ticket #1490802
Signed-off-by: James Almer <jamrial@gmail.com>
-
(No files)
-