Date: Mon, 24 Mar 2025 10:20:05 +0100 (CET) Message-Id: <202503240920.52O9K5T4076577@...2054...> From: Gert Doering In-Reply-To: <20250324083350.4019-1-gert@...1296...> References: <20250324083350.4019-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: win: calculate address string buffer size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Heiko Hund Cc: openvpn-devel@lists.sourceforge.net Thanks for future-proofing this part of the code - it's fine today, but we might bump the number of allowed DNS addresses to "8" one day, and then the old code was at-risk for overflows... I haven't actually tested it, just stared at it for a bit, asked mingw ("no warnings") and we have Frank's +2 in gerrit. Your patch has been applied to the master branch. commit 8ea5debaea01da5fee56fbad56b50820c1beee92 Author: Heiko Hund Date: Mon Mar 24 09:33:44 2025 +0100 win: calculate address string buffer size Signed-off-by: Heiko Hund Acked-by: Frank Lichtenheld Message-Id: <20250324083350.4019-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31196.html Signed-off-by: Gert Doering -- kind regards, Gert Doering