From: "plaisthos (Code Review)" Date: Wed, 21 Jan 2026 12:32:09 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: <16a3610a664a2d25ad2f0d355432228b81dcc45a-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="24QBJJZNXWs="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: push: Fix conversion issues related to timeout in send_auth_pending_m... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --24QBJJZNXWs= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld. plaisthos has posted comments on this change by flichtenheld. ( http://gerr= it.openvpn.net/c/openvpn/+/1293?usp=3Demail ) Change subject: push: Fix conversion issues related to timeout in send_auth= _pending_messages ...................................................................... Patch Set 9: (1 comment) File src/openvpn/push.c: http://gerrit.openvpn.net/c/openvpn/+/1293/comment/1ede80cb_484f24b6?usp=3D= email : PS5, Line 451: } > But isn't that correct? In that case "max_timeout" has already expired, s= o shouldn't we fail? Since this return value is only what the management interface gets back, it= is probably okay to return false here. I don't think we need time_elapsed < 0 here since that now < ks->inital is = something that should never happen and checking for it here might be more c= onfusing than good. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1293?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: Icc31b7fa0da86220df45552aecc15dc6c769cd54 Gerrit-Change-Number: 1293 Gerrit-PatchSet: 9 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 21 Jan 2026 12:32:09 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: cron2 Comment-In-Reply-To: flichtenheld --24QBJJZNXWs= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: cron2, flichtenheld.

View = Change

1 comment:

    =
  • File src/openvpn/push.c:

    • Patch Set #5, Li= ne 451: }

      But isn't that correct? In that case "max_timeout&quo= t; has already expired, so shouldn't we fail?

      Since t= his return value is only what the management interface gets back, it is pro= bably okay to return false here.

      I don't think we need time_elapse= d < 0 here since that now < ks->inital is something that should ne= ver happen and checking for it here might be more confusing than good.

      <= /li>

To view, visit change 1293. To unsubscribe, or for help w= riting mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Icc31b7fa0da86220df45552aecc= 15dc6c769cd54
Gerrit-Change-Number: 1293
Gerrit-PatchSet: 9
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: cron2 <gert@...1296...>= ;
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Wed, 21 Jan 2026 12:32:09= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...= >
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
= --24QBJJZNXWs=--