aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 15:39:35 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-08 11:55:17 +0200
commit6aad0b1bb54d6a5d0367ec3b127476f5516ed618 (patch)
treee148ee24304a32a8cdd4ed073c122d63567b0e9b /tests/ref
parent5621d10b7a55f555a563dbc928d2a61891f4cd6b (diff)
downloadffmpeg-6aad0b1bb54d6a5d0367ec3b127476f5516ed618.tar.gz
avcodec/mjpegdec: Fix leak in case ICC array allocations fail partially
If only one of the two arrays used for the ICC profile could be successfully allocated, it might be overwritten and leak when the next ICC entry is encountered. Fix this by using a common struct, so that one has only one array to allocate. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit a5b2f06b0c69221e375edd918a335c68b33d5667)
Diffstat (limited to 'tests/ref')
0 files changed, 0 insertions, 0 deletions