From: "flichtenheld (Code Review)" Date: Mon, 3 Nov 2025 12:04:13 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, gert@...1296... Message-ID: <0802d299799d34b9efee9d181e4030274e4b34da-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="hS0mzLZV54o="; 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: , Cc: plaisthos , openvpn-devel --hS0mzLZV54o= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, plaisthos. flichtenheld has posted comments on this change by flichtenheld. ( http://g= errit.openvpn.net/c/openvpn/+/1300?usp=3Demail ) Change subject: ssl: Clean up type handling in write_string() ...................................................................... Patch Set 4: (1 comment) File src/openvpn/ssl.c: http://gerrit.openvpn.net/c/openvpn/+/1300/comment/24c81aca_9a5c48f2?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 empt [=E2=80=A6] Right, removed the check completely. -- 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: 4 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Comment-Date: Mon, 03 Nov 2025 12:04:13 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: cron2 --hS0mzLZV54o= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

1 comment:

    =
  • File src/openvpn/ssl.c:

    • Patch Set #3, Lin= e 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 empt [=E2=80=A6]

      Right, removed the= check completely.

To view, visit change 1300. To uns= ubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3309265edf8d6bea7bd73b21eef= 589a92ede6e0a
Gerrit-Change-Number: 1300
Gerrit-PatchSet: 4
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: cron2 <gert@...1296...>= ;
Gerrit-Comment-Date: Mon, 03 Nov 2025 12:04:13= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...= >
= --hS0mzLZV54o=--