From 938c5c45b976387ceea5792b0ce9717dd97667eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Mon, 27 Mar 2023 08:04:23 +0200 Subject: Generalise subr.pkg/*.subr code. --- subr.rtl/rtl_platform.subr | 1 + 1 file changed, 1 insertion(+) (limited to 'subr.rtl/rtl_platform.subr') diff --git a/subr.rtl/rtl_platform.subr b/subr.rtl/rtl_platform.subr index 9fc7b013..d3ba8f56 100644 --- a/subr.rtl/rtl_platform.subr +++ b/subr.rtl/rtl_platform.subr @@ -237,6 +237,7 @@ rtl_set_var() { # N.B.: This function is *unsafe* and impossible to implement otherwise w/o filtering @_vname # and implicitly allows for code execution and other undefined behaviour via @_vname. # Do *not* pass untrusted input through @_vname. +# rtl_set_var_unsafe() { local _rsvu_vname="" _rsvu_vval=""; if [ "x${1}" = "x-u" ]; then -- cgit v1.2.3