From: "cron2 (Code Review)" Date: Thu, 30 Oct 2025 19:27:52 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="UcM02cgJtOk="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: ssl: Clean up type handling in write_string() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --UcM02cgJtOk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change by flichtenheld. ( http://gerrit.o= penvpn.net/c/openvpn/+/1300?usp=3Demail ) Change subject: ssl: Clean up type handling in write_string() ...................................................................... Patch Set 3: Code-Review-2 (1 comment) File src/openvpn/ssl.c: http://gerrit.openvpn.net/c/openvpn/+/1300/comment/605092ec_e5cac272?usp=3D= email : PS3, Line 1788: if (len < 2 || len > real_maxlen) changing this from "< 1" to "< 2" is surprising, and I think, not correct -= we can and do write empty strings (`len=3D1`)...? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1300?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I3309265edf8d6bea7bd73b21eef589a92ede6e0a Gerrit-Change-Number: 1300 Gerrit-PatchSet: 3 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Thu, 30 Oct 2025 19:27:52 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --UcM02cgJtOk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

Patch set 3:Code-Review -2=

V= iew Change

1 comment:

  • File src/openvpn/ssl.c:

    • Patch Set #3,= Line 1788: if (len= < 2 || len > real_maxlen)

      changing this from "< 1= " to "< 2" is surprising, and I think, not correct - we c= an and do write empty strings (`len=3D1`)...?

To = view, visit change 1300. To unsubscribe, or for help writing mail filters, visi= t settings.<= /p>

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3309265edf8d6bea7bd73b21eef= 589a92ede6e0a
Gerrit-Change-Number: 1300
Gerrit-PatchSet: 3
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Thu, 30 Oct 2025 19:27:52= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --UcM02cgJtOk=--