From: "plaisthos (Code Review)" Date: Tue, 9 Jan 2024 11:24:30 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <876e7ea44644309c3b97e5e6c6ebba5cb6c29f18-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="FupIV7BgC2c="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: adjust_payload_max_cbc: Fix Coverity issue "Division or modulo by zero" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --FupIV7BgC2c= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/492?usp=3Demail ) Change subject: adjust_payload_max_cbc: Fix Coverity issue "Division or mod= ulo by zero" ...................................................................... Patch Set 1: (1 comment) Patchset: PS1: But this does not really change anything. It just flips the if around. Is t= his fooling Coverity? And the assumption is that somehow cipher_kt_block_size could return 0 whic= h is not something that happens for a valid cipher. --=20 To view, visit http://gerrit.openvpn.net/c/openvpn/+/492?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: Iaef904ee2448dc0b9ad396d3ad9ae21b9dd6281e Gerrit-Change-Number: 492 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Tue, 09 Jan 2024 11:24:30 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --FupIV7BgC2c= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    Patchset:

    • Patch Set #1:

      But this does not really change anything. It just = flips the if around. Is this fooling Coverity?

      And the assumption is that somehow ciphe= r_kt_block_size could return 0 which is not something that happens for a va= lid cipher.

To view, visit change 492. To unsubscribe,= or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iaef904ee2448dc0b9ad396d3ad9= ae21b9dd6281e
Gerrit-Change-Number: 492
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Tue, 09 Jan 2024 11:24:30= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--FupIV7BgC2c=--