From: "flichtenheld (Code Review)" Date: Wed, 21 Jan 2026 12:14:08 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="zjuxilRpJqI="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Merge stream_buf_get_next and stream_buf_set_next List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --zjuxilRpJqI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. flichtenheld has posted comments on this change by plaisthos. ( http://gerr= it.openvpn.net/c/openvpn/+/1477?usp=3Demail ) Change subject: Merge stream_buf_get_next and stream_buf_set_next ...................................................................... Patch Set 3: Code-Review-1 (6 comments) File src/openvpn/socket.h: http://gerrit.openvpn.net/c/openvpn/+/1477/comment/c97b5e83_9e9c469d?usp=3D= email : PS3, Line 552: * required and other false. (full packet is ready) "otherwise"? File src/openvpn/socket.c: http://gerrit.openvpn.net/c/openvpn/+/1477/comment/487937f5_d30dfd28?usp=3D= email : PS3, Line 2067: * resets the stream buffer to be setup for the next round = of "set up" http://gerrit.openvpn.net/c/openvpn/+/1477/comment/5b1e950d_159c415b?usp=3D= email : PS3, Line 2122: * Sets the parameter buf to the current buffer of sb->buf. superfluous whitespace in the middle of the sentence http://gerrit.openvpn.net/c/openvpn/+/1477/comment/7ccb4681_dd24406d?usp=3D= email : PS3, Line 2154: * move anything in sb->buf beyond a full beyond packet to = sb->residual Remove second "beyond" http://gerrit.openvpn.net/c/openvpn/+/1477/comment/b1bcaa05_4b1c487c?usp=3D= email : PS3, Line 2160: * If a packet is outside of the allowed range is detected,= the error state Remove first "is" http://gerrit.openvpn.net/c/openvpn/+/1477/comment/73e1c3bb_381e01d3?usp=3D= email : PS3, Line 2164: * @param length_added The length that has been added to sb= ->buf Would be good to add a little more information here. I see this can be 0. I= s that for the initial call? When do we call this with non-zero length_adde= d? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1477?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: Ifd3e953104a67c8bf2a225e179865e3dbd0dbfbc Gerrit-Change-Number: 1477 Gerrit-PatchSet: 3 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Comment-Date: Wed, 21 Jan 2026 12:14:08 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --zjuxilRpJqI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

Patch set 3:Code-Review -1=

V= iew Change

6 comments:

  • File src/openvpn/socket.h:

    =
  • File src/openv= pn/socket.c:

    • Patch Set #3, Line 2067: * resets the stream buffer to be setup for the next round of

      "set up"

    • Patch Set #3, Line = 2122: * Sets the param= eter buf to the current buffer of sb->buf.

      superfluous white= space in the middle of the sentence

    • Patch Set= #3, Line 2154: * move= anything in sb->buf beyond a full beyond packet to sb->residual

      Remove second "beyond"

    • Patch= Set #3, Line 2160: * = If a packet is outside of the allowed range is detected, the error state

      Remove first "is"

    • Patch Se= t #3, Line 2164: * @pa= ram length_added The length that has been added to sb->buf

      Wo= uld be good to add a little more information here. I see this can be 0. Is = that for the initial call? When do we call this with non-zero length_added?=

To view, visit change 1477. To unsubscribe, or for h= elp writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifd3e953104a67c8bf2a225e1798= 65e3dbd0dbfbc
Gerrit-Change-Number: 1477
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Comment-Date: Wed, 21 Jan 2026 12:14:08= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --zjuxilRpJqI=--