From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 485164DE67 for ; Thu, 5 Jun 2025 09:42:57 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 73ED768CA3D; Thu, 5 Jun 2025 12:42:54 +0300 (EEST) Received: from out203-205-221-210.mail.qq.com (out203-205-221-210.mail.qq.com [203.205.221.210]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 7EC2A68C77D for ; Thu, 5 Jun 2025 12:42:46 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1749116562; bh=uhSqoQ/XYrKYg+HMUZ9Gv7YD+qmkyptio7O4OVV3Hfk=; h=From:To:Cc:Subject:Date; b=e7Gr5KL5Y74hkeTtWh3y2GlciGJa9wning+vRifC+wINBs+UurK0RWybqFh9+f7DV zt47ERbS9y1DF4RSO3RV7klDbp2ByQUJi/hmqG7eRVLyPFXSxo4hq++Ti36Qq/Z1J6 4pmsBr4F1Ok78EcYHQkXifywY/auFGtWL6OlDwMs= Received: from localhost.localdomain ([119.147.10.242]) by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP id A5B0CCCB; Thu, 05 Jun 2025 17:41:27 +0800 X-QQ-mid: xmsmtpt1749116487th4wesdf1 Message-ID: X-QQ-XMAILINFO: M3cUO7vMX4ch7p++H7R8RuzWG0zL50N61zdV9toYy9aqoMG7mKYruaRv5bgeVd 7TNe/NUFoUdMikUVNSZOxRtQKpTfNhkIbK36nQVfjBo6qjjikc9Tz3jO3z4YaWqv9w6dPFTpQNEi Nu0+3sBh+Nwy67roOz10dKn5Bb8a7I4TGLQHyW+J66S3pDvqNWl7vBpsPwM+iXGGYpoT66RUm/fZ mDWsxl75rWCwvCeAGIEU8P+x1g/WsqX4WBFQUpeATTtL4RYqvm6ZSEb8rzAJHel1xVLzagLDjYyl sEifV+HMAbJfJVLMNiraGTHzJ+DLmDlKGINsozwJqD8yiaoTlcHm4wtRi4dDs2ieLi5qeHO4ECYs SG+SAq1irGqfP1Y4L012coWbDF5ULWIY+KJNu8M/346h89pnU7js+m5vBkgQUIf9z2Z/i8IKr1ik apbTmJBvId2J81xoVg2Y3bfonU4xLEi5T32pRIgjuvEpcVH/Jy3P+ZCOG7HInxAYea99LJxtJ8Wp vrCX5D6YqOBDdbNfpeJZCZPYOVQ7U56ahhwdMn+hdL4wHIk1lyemietVEVoB7aEnnb0t0yNEQNhn 9FBbaezy4+H3C6BDMHP1qwJ9pS0rvt6NdMFnBmHIFhf1LxPRhB9vvc36wIBDejDvbKVO7Ji87xRq x5v6vJdon6RuFPwhb3oI8E0GG+OsMUAY3m8FwZEMCXyOZhEjJmZlxB4G5CN8fR/xStLK9mIdFcue OJ/oGeLHLUEZiTVqgrS7xenwxPJVuUO+rZ4l8u5rnHSTkC+mErr9Pm2IGQbPHbB7uQd6TkD378Eo 6lqp11po5D5/jsSvhUCUr7a0Yctn/6nN4ZTcl0n4XKJg554o2C1KUE9D2gWK5qg0OI9czfctKF3B tLki7QGFCvXmsRREn+eP3np8JNipM0XxMx5/r0CCghnMnp7JLdzEyeONQFusUaRVhA7INy6ecmGW Y6oitP4tWYsb6lnHGSP3Yh27GDMe5xEp8yy9jKAFUUNVcnTaFsxrmHrSYdnyZmoQetrIWcGOul/M MaJDWCxRODTbFq4nC3 X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= From: Zhao Zhili To: ffmpeg-devel@ffmpeg.org Date: Thu, 5 Jun 2025 17:41:24 +0800 X-OQ-MSGID: <20250605094125.418286-1-quinkblack@foxmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/2] avformat/tls: Fix integer overflow with option mtu X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Zhao Zhili Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Zhao Zhili --- libavformat/tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tls.h b/libavformat/tls.h index cb626f1977..2f381acc04 100644 --- a/libavformat/tls.h +++ b/libavformat/tls.h @@ -90,7 +90,7 @@ typedef struct TLSShared { {"verifyhost", "Verify against a specific hostname", offsetof(pstruct, options_field . host), AV_OPT_TYPE_STRING, .flags = TLS_OPTFL }, \ {"http_proxy", "Set proxy to tunnel through", offsetof(pstruct, options_field . http_proxy), AV_OPT_TYPE_STRING, .flags = TLS_OPTFL }, \ {"use_external_udp", "Use external UDP from muxer or demuxer", offsetof(pstruct, options_field . use_external_udp), AV_OPT_TYPE_INT, { .i64 = 0}, 0, 1, .flags = TLS_OPTFL }, \ - {"mtu", "Maximum Transmission Unit", offsetof(pstruct, options_field . mtu), AV_OPT_TYPE_INT, { .i64 = 0}, INT64_MIN, INT64_MAX, .flags = TLS_OPTFL}, \ + {"mtu", "Maximum Transmission Unit", offsetof(pstruct, options_field . mtu), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, .flags = TLS_OPTFL}, \ {"fingerprint", "The optional fingerprint for DTLS", offsetof(pstruct, options_field . fingerprint), AV_OPT_TYPE_STRING, .flags = TLS_OPTFL}, \ {"cert_buf", "The optional certificate buffer for DTLS", offsetof(pstruct, options_field . cert_buf), AV_OPT_TYPE_STRING, .flags = TLS_OPTFL}, \ {"key_buf", "The optional private key buffer for DTLS", offsetof(pstruct, options_field . key_buf), AV_OPT_TYPE_STRING, .flags = TLS_OPTFL} -- 2.25.1 _______________________________________________ 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".