From: "cron2 (Code Review)" Date: Wed, 15 Nov 2023 10:29:06 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., a@...2181... Message-ID: <76f32d9124f8595676f251748edb8edfa2c28109-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="gX5R2Noz6y4="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Do not check key_state buffers that are in S_UNDEF state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: flichtenheld , openvpn-devel --gX5R2Noz6y4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, ordex, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/426?usp=3Demail ) Change subject: Do not check key_state buffers that are in S_UNDEF state ...................................................................... Patch Set 2: Code-Review+2 (1 comment) File src/openvpn/ssl.c: http://gerrit.openvpn.net/c/openvpn/+/426/comment/096ce4c5_5a724a5c : PS1, Line 3192: if (ks->state =3D=3D S_UNDEF) the crashdump / backtraces I received today confirm that this is the root c= ause, ks->state =3D=3D S_UNDEF and thus, ks->send_reliable =3D=3D NULL. I'd feel a bit more comfortable to check "if (ks->send_reliable)" here, tho= ugh - so we're not ending in a crash here again should another state be int= roduced in 2.8 where ks->state is something like "S_CLEARED" and b=C3=A4m, = NULL pointer access again. (We can check both, and complain if ks->send_reliable is NULL if ks->state = is *not* S_UNDEF) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/426?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: I226a73d47a2b1b29f7ec175ce23a806593abc2ac Gerrit-Change-Number: 426 Gerrit-PatchSet: 2 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: ordex Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: ordex Gerrit-Comment-Date: Wed, 15 Nov 2023 10:29:06 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --gX5R2Noz6y4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, ordex, plaisthos. <= /p>

Patch set 2:Code-Review +2=

Vi= ew Change

1 comment:

To view, visit change 426. To unsubscribe, or for help wr= iting mail filters, visit se= ttings.

<= div itemscope itemprop=3D"action" itemtype=3D"http://schema.org/ViewAction"= >
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I226a73d47a2b1b29f7ec175ce23= a806593abc2ac
Gerrit-Change-Number: 426
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: ordex <a@...2181...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: ordex <a@...2181...> <= /div>
Gerrit-Comment-Date: Wed, 15 Nov 2023 10:29:06= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--gX5R2Noz6y4=--