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 337EE4DE9B for ; Thu, 5 Jun 2025 13:04:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id AD38768BEBF; Thu, 5 Jun 2025 16:04:08 +0300 (EEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id D4461687D80 for ; Thu, 5 Jun 2025 16:04:06 +0300 (EEST) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-30e8feb1886so1100238a91.0 for ; Thu, 05 Jun 2025 06:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749128645; x=1749733445; darn=ffmpeg.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=dl/xjJsAEeGdxRyaYH8iUk1X1jw+QSvovh5ENvTXOi0=; b=BENLeVQPzIyvOSO++pCH9sFAYXjXwbFd0sKi18bYb4VeBtQY9NpiJkqF4jHPt0HWGG niOH9Zget+E7Hl9pz9697aSVINmjfvpZ6EECOacGvqH+7nuR8W1HMOc8dM9JrS2Za/KR Kw89ILtY1QwQEQMwSF45OJrwIyVZuo80xw89fsuYMm1fNP8Ey6stTDMLODgDEwRbgsay V30rnW9ojh13o6xvvmVb8vzGf0YJGIEMMzCeOnTbZI77V1dohSqIlkZZBOd8lEq7EMXJ TfkmULNSDvDp+lagMNmRMVl2Dr45rllzKoYVKcTXS4fx6WSfuii1J5LcHoO1XaEf3vWN jrNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749128645; x=1749733445; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dl/xjJsAEeGdxRyaYH8iUk1X1jw+QSvovh5ENvTXOi0=; b=nED4cAmbPYdwVouGq04zDJt/Df2bYb/T3aH45zAsP1SapXh1Prmhaj7VDE1Yxai25V RMnpDx7svWUBmhNKIodBqAQc4JNzrRTBT1hiF9SSXkKNRDr0PvdkLfe1gI7qlNhFRLfn j79Ka7kqc7Aj3IvYqvvgRUXrHY8FIRdF11NfL3GHdtpOSIQ0Ca2nEJZ5sVIX18Nla4Ar gFMyUQsI/77EabP0MPDQ73UbbTHzTxv6MqeD7QE9iNl44LGAz24t6Ke4m1EoltdlIotq LgoyjTOzQ//usWxaCYULym45IsYWqV7a54Jt6XGnbD43P7g8OOHEETRsDONUHAAsc4p1 x64A== X-Gm-Message-State: AOJu0Yz+aoxzLA7iwDN4vSA+P5uA/8phHCarRhlv1+8M5YCU0WvZi92U UMIcu3sXDzar0hEFjNLB8FI1prr+Z9DbLlTe1D88rrXJHyzsSOiY01q/oxPbTOWj X-Gm-Gg: ASbGncv97i1qmDc9rEOAw7I1rz7MYJ9MBIcMaq1Arf1N0Eiqgrk7cDHUwC2QXAZ1V4r 8XHui+dof7yugJ5RcodjwhRuiHHIDMVmVLi+PLh0xjxqW6NUt+EJ4HJmRw4bN+OkKG75QiJjQqq ib01kap5bqFgJ95cskFUjV6mzyBY5Qzr5TnkWPXX7QuXq1lcM4ii8boL5QbSqop7Or9+pejso0J fRkv/R9gS7Cky3vnAjyD3Lsusiz5MfHgkW99+gpX04ewYsOe0YOV3k4N/kwT33oGw95WQLO5K7N gMHFM20YB6GqQvlKVdsnjhSxZJZEE+yGOko6L5qsxAgqdFdPKRWKl0lwAlG0Pubh X-Google-Smtp-Source: AGHT+IGOAq91X+YZyPUWFEjkHa+13xe2Ef3YpXZb9qnmn841ChtEuui1GRpKsaXLRoeLrgA5x/KPVQ== X-Received: by 2002:a17:90b:274b:b0:312:1b53:5e9f with SMTP id 98e67ed59e1d1-3130cdaef12mr11144537a91.24.1749128644525; Thu, 05 Jun 2025 06:04:04 -0700 (PDT) Received: from smtpclient.apple ([23.247.137.216]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3133190236fsm1235461a91.19.2025.06.05.06.04.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jun 2025 06:04:04 -0700 (PDT) From: Jack Lau Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Date: Thu, 5 Jun 2025 21:03:53 +0800 References: To: FFmpeg development discussions and patches In-Reply-To: Message-Id: <59D04DCB-AE2A-4A99-B29A-843C2EDA6E44@gmail.com> X-Mailer: Apple Mail (2.3826.600.51.1.1) Subject: Re: [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 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: > On Jun 5, 2025, at 17:41, Zhao Zhili wrote: > > 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 LGTM Thanks Jack > > _______________________________________________ > 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". _______________________________________________ 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".