Date: Mon, 8 Dec 2025 20:28:37 +0100 (CET) Message-Id: <202512081928.5B8JSbGw023165@...2054...> From: Gert Doering In-Reply-To: <20251208170320.4696-1-gert@...1296...> References: <20251208170320.4696-1-gert@...1296...> Subject: [Openvpn-devel] [PATCH applied] Re: socket: Initialize struct in_addr_t in getaddr() 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 This is somewhat of a silly-compiler-syndrome - especially since the last warning in this area was a true positive, now the addition of the "if(ai)" clause - which has nothing whatsoever to do with the return data or not - causes a warning (that we treat fatal) in mingw, and only in the release builds... But anyway, this is just a 32bit integer, not in the fast path, and initializing things is generally a good idea :-) Tested with the (upcoming) GHA mingw+release builds that reproduceably fail without this change. Your patch has been applied to the master branch. commit e8dc7f35584df1f1cf920636cd5ac7232f0009a9 Author: Frank Lichtenheld Date: Mon Dec 8 18:03:13 2025 +0100 socket: Initialize struct in_addr_t in getaddr() Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1420 Message-Id: <20251208170320.4696-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34894.html Signed-off-by: Gert Doering -- kind regards, Gert Doering