From: "ordex (Code Review)"
Date: Mon, 8 Apr 2024 06:59:00 +0000
In-Reply-To:
References:
Reply-To: a@...2181..., 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="xIWvw8oB8yE="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: Remove
openvpn_snprintf and similar functions
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos
Cc: flichtenheld , openvpn-devel
--xIWvw8oB8yE=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/547?usp=3Demail )
Change subject: Remove openvpn_snprintf and similar functions
......................................................................
Patch Set 2: Code-Review+2
(4 comments)
Patchset:
PS2:
closing some comments as they were commenting code that did not really chan=
ge with this patch...
The only remaining comment is about a comment in the UT which is a bit cryp=
tic. Maybe that can be adjusted on the fly.
Other than that, the code looks good to me <3
File src/openvpn/proxy.c:
http://gerrit.openvpn.net/c/openvpn/+/547/comment/f78adfbf_ca231ac7 :
PS2, Line 962: if (sret >=3D sizeof(buf))
> if this can truly happen, does it mean that the buffer is undersized comp=
ared to the size of all var [=E2=80=A6]
Done
File src/openvpn/socks.c:
http://gerrit.openvpn.net/c/openvpn/+/547/comment/0f6508ea_b21108c0 :
PS2, Line 114: (int) strlen(creds.username), creds.=
username,
> normally we don't put a paceb etween the cast and the variable name. [=E2=
=80=A6]
Done
http://gerrit.openvpn.net/c/openvpn/+/547/comment/b4ed3e45_e9af3876 :
PS2, Line 116: ASSERT(sret <=3D sizeof(to_send));
> why ASSERT here while in other cases we just go to error or cleanup?
Done
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/547?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I07096977e3b562bcb5d2c6f11673a4175b8e12ac
Gerrit-Change-Number: 547
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: ordex
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Mon, 08 Apr 2024 06:59:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: ordex
Gerrit-MessageType: comment
--xIWvw8oB8yE=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
Patch set 2:Code-Review +2=
Vi=
ew Change
4 comments:
Done
File src/openvpn/so=
cks.c:
Patch Set #2=
, Line 114: =
(int) strlen(creds.username), creds.username,
normally we don't put a paceb etween the cast and the variable na=
me. [=E2=80=A6]
Done
- =
Patch Set #2, Line 116: ASSERT(sret <=3D sizeof(to_se=
nd));
why ASSERT here while in other cases we just go=
to error or cleanup?
Done
To view, visit change 547. =
To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I07096977e3b562bcb5d2c6f1167=
3a4175b8e12ac
Gerrit-Change-Number: 547
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-Reviewer: ordex <a@...2181...> =
div>
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: Mon, 08 Apr 2024 06:59:00=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: ordex <a@...2181...>=
;
Gerrit-MessageType: comment
--xIWvw8oB8yE=--