Sorry I send this patch again. Please Ignore:
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-June/345436.html
Thanks,
Lidong
Michael Niedermayer 于2025年6月16日周一 07:38写道:
> On Sat, Jun 14, 2025 at 05:08:36PM +0800, Zhao Zhili wrote:
> >
> >
> > > On Jun 14, 2025, at 16:33, Lidong Yan <
> yldhome
On Sat, Jun 14, 2025 at 05:08:36PM +0800, Zhao Zhili wrote:
>
>
> > On Jun 14, 2025, at 16:33, Lidong Yan
> > wrote:
> >
> > In libavformat/rtmpproto.c:gen_connect(), if check on string length
> > or check on codec fourcc failed, ff_rtmp_packet_create() allocated
> > data in pkt would leak. Ad
> On Jun 14, 2025, at 16:33, Lidong Yan
> wrote:
>
> In libavformat/rtmpproto.c:gen_connect(), if check on string length
> or check on codec fourcc failed, ff_rtmp_packet_create() allocated
> data in pkt would leak. Add ff_rtmp_packet_destory before return error
> code.
>
> Signed-off-by: Li
In libavformat/rtmpproto.c:gen_connect(), if check on string length
or check on codec fourcc failed, ff_rtmp_packet_create() allocated
data in pkt would leak. Add ff_rtmp_packet_destory before return error
code.
Signed-off-by: Lidong Yan <502024330...@smail.nju.edu.cn>
-BEGIN PGP PUBLIC KEY B