Date: Fri, 12 Dec 2025 12:57:15 +0100 (CET) Message-Id: <202512121157.5BCBvFgT008448@...2054...> From: Gert Doering In-Reply-To: <20251212100920.7671-1-gert@...1296...> References: <20251212100920.7671-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: buffer: Change limits for array_mult_safe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Frank Lichtenheld Cc: openvpn-devel@lists.sourceforge.net As discussed on IRC, this is a reasonable change - on 32bit platforms, having a maximum allocation size of 4G-1 is no good, as that will always fail (so why bother having that check at all). 1G seems well out of range of what OpenVPN would ever need, but it *would* catch some program parts asking for "2Gbyte" and then being surprised that malloc() fails... (and provide a better FATAL message). Not tested beyond "BB says it's all green". Your patch has been applied to the master branch. commit 2b8149a4fe0d73ea0bedf2e282188d55c8511c45 Author: Frank Lichtenheld Date: Fri Dec 12 11:09:14 2025 +0100 buffer: Change limits for array_mult_safe Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1436 Message-Id: <20251212100920.7671-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35044.html Signed-off-by: Gert Doering -- kind regards, Gert Doering