From: "MaxF (Code Review)" Date: Wed, 26 Mar 2025 15:05:17 +0000 In-Reply-To: References: Reply-To: max@...2606..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <729b64812937f82f92652c81a54326937948ed6d-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="MB8aQm4y3kU="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Fix compatibility with mbedTLS 2.28.10+ and 3.6.3+ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --MB8aQm4y3kU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. MaxF has posted comments on this change. ( http://gerrit.openvpn.net/c/open= vpn/+/918?usp=3Demail ) Change subject: Fix compatibility with mbedTLS 2.28.10+ and 3.6.3+ ...................................................................... Patch Set 1: (1 comment) File src/openvpn/ssl_mbedtls.c: http://gerrit.openvpn.net/c/openvpn/+/918/comment/5a92e1f5_b6450745 : PS1, Line 1250: mbedtls_ssl_set_hostname(ks_ssl->ctx, NULL); Should we check the return value? The only possible errors are "allocation failed" and "hostname too long", b= oth of which don't apply. But ignoring a return value feels a bit wrong to = me. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/918?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I8bbb6ffdac7d0029dbf3c13e62c11b61813c15ef Gerrit-Change-Number: 918 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: MaxF Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 26 Mar 2025 15:05:17 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --MB8aQm4y3kU= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    File src/openvpn/ssl_mbedtls.c:

    <= ul style=3D"list-style: none; padding: 0;">
  • Patch Set #1, Line 1250= : mbedtls_ssl_set_h= ostname(ks_ssl->ctx, NULL);

    Should we check the return value?

    The only possible errors are = "allocation failed" and "hostname too long", both of wh= ich don't apply. But ignoring a return value feels a bit wrong to me.

To view, visit change 918. To unsubscribe, or for help = writing mail filters, visit = settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8bbb6ffdac7d0029dbf3c13e62c= 11b61813c15ef
Gerrit-Change-Number: 918
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: MaxF <max@...2606...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Wed, 26 Mar 2025 15:05:17= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--MB8aQm4y3kU=--