summaryrefslogtreecommitdiffstats
path: root/tests/fate.sh
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-11-19 15:33:58 -0300
committerAnton Khirnov <anton@khirnov.net>2016-11-23 13:17:52 +0100
commitaa498c3183236a93206b4a0e8225b9db0660b50d (patch)
treebf668357a29a421f220738cab79f4d2560bcd5de /tests/fate.sh
parentc7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65 (diff)
downloadffmpeg-streaming-aa498c3183236a93206b4a0e8225b9db0660b50d.zip
ffmpeg-streaming-aa498c3183236a93206b4a0e8225b9db0660b50d.tar.gz
avpacket: fix leak on realloc in av_packet_add_side_data()
If realloc fails, the pointer is overwritten and the previously allocated buffer is leaked, which goes against the expected functionality of keeping the packet unchanged in case of error. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests/fate.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud