From: Gyan Doshi <ffmpeg@gyani.pro>
To: 1+1=10 <ysls789@foxmail.com>,
FFmpeg development discussions and patches
<ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 1/1] add option in file.c: pkt_size toset max_packet_size
Date: Thu, 31 Jul 2025 13:46:56 +0530
Message-ID: <848ecb60-a67c-4e63-87e1-7f6a6590987c@gyani.pro> (raw)
In-Reply-To: <tencent_F5DB935EB016EAA13A72B320FCBC9331010A@qq.com>
On 2025-07-31 01:06 pm, 1+1=10 wrote:
> If max_packet_size is -1, a crash will occur in the ffio_fdopen function due to malloc(-1),
> but max_packet_size is initialized to 0 in the url_alloc_for_protocol function.
> If it is not customized to -1, this situation should not occur.
But your added option allows the user to set it to an invalid value.
Rectify that.
Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2025-07-31 8:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-17 14:05 [FFmpeg-devel] [PATCH 1/1] add option in file.c: pkt_size to set max_packet_size yangsen5 via ffmpeg-devel
2025-07-17 14:27 ` Gyan Doshi
[not found] ` <tencent_F5DB935EB016EAA13A72B320FCBC9331010A@qq.com>
2025-07-31 8:16 ` Gyan Doshi [this message]
2025-07-17 15:01 ` Zhao Zhili
2025-07-31 5:16 ` [FFmpeg-devel] [PATCH 1/1] add option in file.c: pkt_size to setmax_packet_size 1+1=10 via ffmpeg-devel
2025-07-31 5:47 ` 1+1=10 via ffmpeg-devel
2025-07-31 9:05 ` [FFmpeg-devel] [PATCH] add option in file.c: pkt_size to set max_packet_size yangsen5 via ffmpeg-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=848ecb60-a67c-4e63-87e1-7f6a6590987c@gyani.pro \
--to=ffmpeg@gyani.pro \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=ysls789@foxmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git