summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-14 09:19:38 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-02 10:15:09 +0200
commited1339dcb2590b011c35fa29122586fa2bc8b91e (patch)
tree29036ec4a6a022b6e8c0df426ffef46d5a089d53 /INSTALL.md
parentaf64590c6bc2c849006f4b346d89ce23916237aa (diff)
downloadffmpeg-ed1339dcb2590b011c35fa29122586fa2bc8b91e.tar.gz
avformat/mov: Fix memleak upon encountering repeating tags
mov_read_custom tries to read three strings belonging to three different tags. When an already encountered tag is encountered again, a new buffer for the string to be read is allocated and stored in the pointer destined for this particular tag. But in this scenario, said pointer already holds the address of the string read earlier, leading to a leak. This commit therefore aborts the reading process upon encountering an already encountered tag. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit dfef1d5e3cd4dfead84416a01e6c9ff0da50b34d) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'INSTALL.md')
0 files changed, 0 insertions, 0 deletions