[FFmpeg-devel] [PATCH] avformat/rtmpproto: Fix segfault

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Mar 27 20:21:46 EET 2024


Armin Hasitzka via ffmpeg-devel:
> Hi,
> 
> we found this when testing with rejected RTMP streams.
> 
> Best
> Armin

Thanks for the report and the patch; yet actually freeing them manually
is not only harmful, but also unnecessary, as these strings can be set
via AVOptions; therefore they will be freed generically (which is also
the reason why rtmp_close() does not have code to free them). I sent a
patch for this here:
https://ffmpeg.org/pipermail/ffmpeg-devel/2024-March/324509.html Would
be nice if you could test it.

- Andreas



More information about the ffmpeg-devel mailing list