Attention is currently required from: Arne Schwabe, Heiko Hund.

Răzvan Cojocaru has posted comments on this change by Heiko Hund. ( 
https://gerrit.openvpn.net/c/openvpn/+/2349?usp=email )

Change subject: dns: restrict dns var names and values in the updown runner
......................................................................


Patch Set 4: Code-Review-1

(2 comments)

File src/openvpn/dns.c:

https://gerrit.openvpn.net/c/openvpn/+/2349/comment/2da61be0_a78dabea?usp=email 
:
PS4, Line 697: dns_var_dev_valid(const char *value, size_t size)
`open_tun_generic()` builds the device name with `sep = "/"` on Haiku, and `/` 
is not an allowed character. So `dev=tun/0` now gets rejected.

Maybe the regression is acceptable, in which case we should probably say so in 
the commit message? If not, we should probably allow `/` only under 
`TARGET_HAIKU`.


https://gerrit.openvpn.net/c/openvpn/+/2349/comment/58a36930_be0c45ab?usp=email 
:
PS4, Line 697: dns_var_dev_valid(const char *value, size_t size)
Should we also reject a leading `.` (which would cover `".."` as well)?



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2349?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5847d602a024044d9109f521de7885d55d28a968
Gerrit-Change-Number: 2349
Gerrit-PatchSet: 4
Gerrit-Owner: Heiko Hund <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Deri Haerudi <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Heiko Hund <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Sat, 28 Nov 2026 10:28:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to