From: "plaisthos (Code Review)" Date: Tue, 11 Nov 2025 11:03:59 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: <2f65100419076714da6b64664dbf8957b381a3f7-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="o8EL2E3P2KQ="; 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: openvpn-devel --o8EL2E3P2KQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. plaisthos has posted comments on this change by flichtenheld. ( http://gerr= it.openvpn.net/c/openvpn/+/1300?usp=3Demail ) Change subject: ssl: Clean up type handling in write_string() ...................................................................... Patch Set 5: Code-Review+2 (1 comment) File src/openvpn/ssl.c: http://gerrit.openvpn.net/c/openvpn/+/1300/comment/316cab45_6e3be2a4?usp=3D= email : PS5, Line 1787: const size_t real_maxlen =3D (maxlen >=3D 0 && maxlen <= =3D UINT16_MAX) ? (size_t)maxlen : UINT16_MAX; ```suggestion const size_t real_maxlen =3D (maxlen >=3D 0 && maxlen <=3D UINT16_MAX) = ? (size_t)maxlen : UINT16_MAX; ``` -- 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: 5 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 11 Nov 2025 11:03:59 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --o8EL2E3P2KQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld.

Patch set 5:Code-Review +2=

V= iew Change

1 comment:

  • File src/openvpn/ssl.c:

    • Patch Set #5,= Line 1787: const s= ize_t real_maxlen =3D (maxlen >=3D 0 && maxlen <=3D UINT16_MA= X) ? (size_t)maxlen : UINT16_MAX;

      ```suggestion
      = const size_t real_maxlen =3D (maxlen >=3D 0 && maxlen <= =3D UINT16_MAX) ? (size_t)maxlen : UINT16_MAX;
      ```
  • <= /ul>

    To view, visit change 1300. To unsubscribe, or for help writing mail fil= ters, visit sett= ings.

    <= link itemprop=3D"url" href=3D"http://gerrit.openvpn.net/c/openvpn/+/1300?us= p=3Demail"/>
    Gerrit-MessageType: comment
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I3309265edf8d6bea7bd73b21eef= 589a92ede6e0a
    Gerrit-Change-Number: 1300
    Gerrit-PatchSet: 5
    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: flichtenheld <frank@...2375...= 41...>
    Gerrit-Comment-Date: Tue, 11 Nov 2025 11:03:59= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    = --o8EL2E3P2KQ=--