Attention is currently required from: Arne Schwabe, Frank Lichtenheld, Lev 
Stipakov.

Răzvan Cojocaru has posted comments on this change by Lev Stipakov. ( 
https://gerrit.openvpn.net/c/openvpn/+/1965?usp=email )

Change subject: control_msg: Add a shared TLV codec and use it for early 
negotiation
......................................................................


Patch Set 4: Code-Review-1

(1 comment)

File tests/unit_tests/openvpn/test_control_msg.c:

https://gerrit.openvpn.net/c/openvpn/+/1965/comment/ad09aaf6_b44cb7d9?usp=email 
:
PS4, Line 163: /* Writing fails, rather than writes a partial TLV, when buf is 
too small. */
The write functions don't check for space up front, so a failed write does 
leave a partial TLV: `BLEN(&buf)` is `2` after the first call and `4` after the 
second. The test only checks the return values, so it passes anyway.

I vaguely remember this from the prototype OpenVPN 3 implementation as well. 😀

That may be fine, in which case saying so in control_msg.h is OK.



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/1965?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I89c3133e009dc75dc2c10c607b3f0a24c04e8146
Gerrit-Change-Number: 1965
Gerrit-PatchSet: 4
Gerrit-Owner: Lev Stipakov <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Lev Stipakov <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Wed, 04 Nov 2026 15:47:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to