From: "cron2 (Code Review)" Date: Wed, 12 Mar 2025 10:54:44 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: <947eefc61b470e97522f801bcac7bdde7610a1c5-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="p08Jpc+Jvgg="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: dns: do not use netsh to set name server addresses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: d12fk Cc: stipa , plaisthos , flichtenheld , openvpn-devel --p08Jpc+Jvgg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, flichtenheld, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/825?usp=3Demail ) Change subject: dns: do not use netsh to set name server addresses ...................................................................... Patch Set 13: (1 comment) File src/openvpnserv/interactive.c: http://gerrit.openvpn.net/c/openvpn/+/825/comment/34e70988_8404e3c3 : PS13, Line 1929: } I am a bit worried about this static buffer and no overflow check - if we e= ver increase the dns_cfg_message_t to `addr[8]`, will we remember to also i= ncrease the `CHAR addrs[256]` here? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/825?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: Id2bed0908e84c19b8fb6fe806376316793e550b4 Gerrit-Change-Number: 825 Gerrit-PatchSet: 13 Gerrit-Owner: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: cron2 Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: d12fk Gerrit-Comment-Date: Wed, 12 Mar 2025 10:54:44 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --p08Jpc+Jvgg= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View C= hange

1 comment:

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

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

    • Patch Set #13, Line= 1929: }=

      I am a bit w= orried about this static buffer and no overflow check - if we ever increase= the dns_cfg_message_t to `addr[8]`, will we remember to also increase the = `CHAR addrs[256]` here?

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id2bed0908e84c19b8fb6fe80637= 6316793e550b4
Gerrit-Change-Number: 825
Gerrit-PatchSet: 13
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...= >
Gerrit-CC: cron2 <gert@...1296...>
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: d12fk <heiko@...515...>= ;
Gerrit-Comment-Date: Wed, 12 Mar 2025 10:54:44= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--p08Jpc+Jvgg=--