aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aarch64
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-03 22:26:51 +0200
commita5b2f06b0c69221e375edd918a335c68b33d5667 (patch)
tree468b6afa5928d4cfa332e6714e19f41f10e0a5bf /libavcodec/aarch64
parentda8c86dd8be244100da226a11b416c20d0c914d6 (diff)
downloadffmpeg-a5b2f06b0c69221e375edd918a335c68b33d5667.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>
Diffstat (limited to 'libavcodec/aarch64')
0 files changed, 0 insertions, 0 deletions