Attention is currently required from: Arne Schwabe, Deri Haerudi. Răzvan Cojocaru has posted comments on this change by Deri Haerudi. ( https://gerrit.openvpn.net/c/openvpn/+/2341?usp=email )
Change subject: dns-scripts: parse dns_vars_file as data instead of sourcing it ...................................................................... Patch Set 1: Code-Review-1 (2 comments) Commit Message: https://gerrit.openvpn.net/c/openvpn/+/2341/comment/e24922b6_7a7ef5b0?usp=email : PS1, Line 19: the unprivileged process controls a file root will execute. (b) is not really achieved. `dev` passes the allow-list with no check on its value, then the scripts paste it into a `sed` script, so a vars file still gets code run as root. We could either check `dev` in the reader and say in the message that the C side still trusts the path, or just drop claim (b) from the message. File distro/dns-scripts/haikuos_file-dns-updown.sh: https://gerrit.openvpn.net/c/openvpn/+/2341/comment/adfaffaf_f7b4b711?usp=email : PS1, Line 53: [ -r "$_f" ] || return 0 This should be `|| exit 1` - otherwise we are letting the script carry on with `script_type` unset. -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2341?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: Id05f3e4e32aeb806d762858e754adc82f42d4371 Gerrit-Change-Number: 2341 Gerrit-PatchSet: 1 Gerrit-Owner: Deri Haerudi <[email protected]> Gerrit-Reviewer: Arne Schwabe <[email protected]> Gerrit-Reviewer: Răzvan Cojocaru <[email protected]> Gerrit-CC: openvpn-devel <[email protected]> Gerrit-Attention: Deri Haerudi <[email protected]> Gerrit-Attention: Arne Schwabe <[email protected]> Gerrit-Comment-Date: Wed, 25 Nov 2026 08:45:07 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
