[FFmpeg-trac] #10459(avfilter:closed): set_string_bool() overwrites memory.
FFmpeg
trac at avcodec.org
Mon Jul 10 23:52:36 EEST 2023
#10459: set_string_bool() overwrites memory.
------------------------------------+------------------------------------
Reporter: Wodzu | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avfilter
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by Elon Musk):
BOOL avoption type is not using bool type at all.
This is because bool is not available in C99.
So fix your code to replace all bool types with int.
Bunch of examples in other filters in libavfilter confirm this.
Why you think otherwise is prize worth a lot.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10459#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list