[FFmpeg-trac] #11236(avformat:new): dashdec.c CRASH xmlCleanupParser
FFmpeg
trac at avcodec.org
Sun Oct 13 18:13:51 EEST 2024
#11236: dashdec.c CRASH xmlCleanupParser
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
gorilla.maguila |
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: dashdec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Steven Liu):
Replying to [comment:2 gorilla.maguila]:
> Well in case of doubt documentation recommends not calling
xmlCleanupParser:
>
>
[https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-parser.html#xmlCleanupParser]
>
> Not sure what's the best approach, just users be advised that if your
application uses libxml2 and libavformat, calling xmlCleanupParser may
crash your app as it deallocates the whole libxml2 library.
Yes, i looked at that, but there will leak if remove it, perhaps should
implement a tiny xml parser, but need more time to think about that.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11236#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list