From: "mrbff (Code Review)"
Date: Wed, 8 Oct 2025 12:19:06 +0000
In-Reply-To:
References:
Reply-To: marco@...2726..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...,
antonio@...2726..., gert@...1296...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="Ajvj/HSJRS8="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: PUSH_UPDATE server:
check IV_PROTO before sending the message to the ...
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: plaisthos , flichtenheld , openvpn-devel
--Ajvj/HSJRS8=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, flichtenheld, ordex, plaisthos.
mrbff has posted comments on this change by mrbff. ( http://gerrit.openvpn.=
net/c/openvpn/+/1255?usp=3Demail )
Change subject: PUSH_UPDATE server: check IV_PROTO before sending the messa=
ge to the client
......................................................................
Patch Set 1:
(4 comments)
File src/openvpn/push_util.c:
http://gerrit.openvpn.net/c/openvpn/+/1255/comment/df855855_fc7dc98e?usp=3D=
email :
PS1, Line 199: }
> this cannot be NULL - but if you doubt your own callers, make it in an `A=
SSERT(mi)`.
Acknowledged
http://gerrit.openvpn.net/c/openvpn/+/1255/comment/d70a48ea_ca9f747a?usp=3D=
email :
PS1, Line 204: msg(M_CLIENT, "ERROR: Peer ID: %u does not support p=
ush-update",
> For the "I want *this* one client" case, an ERROR is valid, for the "send=
to all" it's a bit excessi [=E2=80=A6]
Acknowledged
http://gerrit.openvpn.net/c/openvpn/+/1255/comment/275c68b2_08325ea1?usp=3D=
email :
PS1, Line 205: mi->context.c2.tls_multi ? mi->context.c2.tls_mu=
lti->peer_id : UINT32_MAX);
> you just dereferenced "tls_multi" a few lines above, therefore it must be=
non-NULL at this point. [=E2=80=A6]
Acknowledged
http://gerrit.openvpn.net/c/openvpn/+/1255/comment/b80626a7_60d0008d?usp=3D=
email :
PS1, Line 252: gc_free(&gc);
> am I wrong or this is totally unrelated? [=E2=80=A6]
yeah, it is unrelated, but a patch only for this?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1255?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: I7c28da72be11c7efbed3068fbfc65f2959227bec
Gerrit-Change-Number: 1255
Gerrit-PatchSet: 1
Gerrit-Owner: mrbff
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: ordex
Gerrit-Reviewer: plaisthos
Gerrit-CC: cron2
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Attention: flichtenheld
Gerrit-Attention: ordex
Gerrit-Comment-Date: Wed, 08 Oct 2025 12:19:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Comment-In-Reply-To: ordex
--Ajvj/HSJRS8=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: cron2, flichtenheld, ordex, plaisthos.
am =
I wrong or this is totally unrelated? [=E2=80=A6]
yeah, i=
t is unrelated, but a patch only for this?
To vie=
w, visit change 1255. To unsubscribe, or for help writing mail filters, visit <=
a href=3D"http://gerrit.openvpn.net/settings?usp=3Demail">settings.
=
<=
meta itemprop=3D"name" content=3D"View Change"/>