Message-ID: Date: Fri, 13 May 2022 13:17:32 +0200 MIME-Version: 1.0 Content-Language: en-GB References: <20220513101526.11486-1-gert@...1296...> From: Arne Schwabe In-Reply-To: <20220513101526.11486-1-gert@...1296...> Subject: Re: [Openvpn-devel] [PATCH] Pass proper sockaddr_* structure for IPv6 socket errors. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Gert Doering , openvpn-devel@lists.sourceforge.net Am 13.05.22 um 12:15 schrieb Gert Doering: > commit 043c67f363429 enhances format_extended_socket_error() by > recognizing IPv6 extended socket errors, but neglected to change > the "sockaddr_in" buffer passed to recvmsg() to "sockaddr_storage". > > According to documentation, recvmsg() should not have overrun > that structure (we pass the size of the struct), but according to > ASAN it does... so, pass the correct structure. > Acked-By: Arne Schwabe