From: "d12fk (Code Review)" Date: Thu, 13 Mar 2025 03:27:59 +0000 In-Reply-To: References: Reply-To: heiko@...515..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <24c7815a1535b59bca2d3d625d1679acf9c2e9a6-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="7HRtxNyWe1k="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: win: match search domains when creating exclude rules List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: plaisthos , flichtenheld , openvpn-devel --7HRtxNyWe1k= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. d12fk has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/905?usp=3Demail ) Change subject: win: match search domains when creating exclude rules ...................................................................... Patch Set 2: (1 comment) File src/openvpnserv/interactive.c: http://gerrit.openvpn.net/c/openvpn/+/905/comment/d70b6712_811e8c80 : PS2, Line 2218: if (match && (match =3D=3D search_domains |= | *(match - 1) =3D=3D ',') The code doesn't deal with partial matches in the list, before a full match= could be made. Instead of repeating the search from the point of the parti= al match, it gives up the search. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/905?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: I4919af2b845a47787c08f454b108ef376ea5c0f6 Gerrit-Change-Number: 905 Gerrit-PatchSet: 2 Gerrit-Owner: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Thu, 13 Mar 2025 03:27:59 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --7HRtxNyWe1k= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View C= hange

1 comment:

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

    File src/openvpnserv/interactive.c:<= /p>

    • Patch Set #2, Line = 2218: i= f (match && (match =3D=3D search_domains || *(match - 1) =3D=3D = 9;,')

      The code doesn't deal with partial matches in the list, before a fu= ll match could be made. Instead of repeating the search from the point of t= he partial match, it gives up the search.

To view= , visit c= hange 905. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4919af2b845a47787c08f454b10= 8ef376ea5c0f6
Gerrit-Change-Number: 905
Gerrit-PatchSet: 2
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
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: Thu, 13 Mar 2025 03:27:59= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--7HRtxNyWe1k=--