aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-18 23:04:37 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-02 21:35:29 +0200
commitceb5863d04e8f00bd605deda783f9381156337cf (patch)
tree39f1ea9adbdcb0766e2b846740a9d609b137db4b /doc
parentcc8eba0ab8ead680d0e6bd7c3d20dd11ed6c0677 (diff)
downloadffmpeg-ceb5863d04e8f00bd605deda783f9381156337cf.tar.gz
avformat/webpenc: Fix memleak when using invalid packets
The WebP muxer sometimes caches a packet it receives to write it later; yet if a cached packet is too small (so small as to be invalid), it is cached, but not written and not unreferenced. Such a packet leaks, either by being overwritten by the next packet or because it is never unreferenced at all. Fix this by not caching unusable packets at all; and error out on invalid packets. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit f9043de99a23e35a34c79bfbc9ef17b27f7236d1)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions