Girocco/Util.pm: launder taint off util_path result
commiteb3934696bcc03c972c015a8cb6f81627632becc
authorKyle J. McKay <mackyle@gmail.com>
Mon, 8 Feb 2021 16:53:15 +0000 (8 09:53 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 8 Feb 2021 16:53:15 +0000 (8 09:53 -0700)
tree31f8a1701ae73c1445747fb0dee11cd4af97aaff
parent367ba358158e10f9c50a1a804b56e817cedbb700
Girocco/Util.pm: launder taint off util_path result

Now that a frozen config has become available, it's much easier
to get to the var_git_exec_path value.  Just use that if it's
set and non-empty.  Otherwise, if necessary to go through the
whole rigmarole, verify the result is an absolute path and
launder the taint right off it.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Util.pm