git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug: option access for expansion
[exim.git]
/
src
/
src
/
routers
/
queryprogram.c
diff --git
a/src/src/routers/queryprogram.c
b/src/src/routers/queryprogram.c
index 0d03f1ea35566f94f61714a17ccfcdbbe60eda0f..dd5e24b9392cd3099971671b8a81d854390c888e 100644
(file)
--- a/
src/src/routers/queryprogram.c
+++ b/
src/src/routers/queryprogram.c
@@
-2,9
+2,10
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2020 - 2023 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 - 2021 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include "../exim.h"
#include "rf_functions.h"
#include "../exim.h"
#include "rf_functions.h"
@@
-286,12
+287,12
@@
if (curr_uid != root_uid && (uid != curr_uid || gid != curr_gid))
/* Set up the command to run */
/* Set up the command to run */
+GET_OPTION("command");
if (!transport_set_up_command(&argvptr, /* anchor for arg list */
ob->command, /* raw command */
if (!transport_set_up_command(&argvptr, /* anchor for arg list */
ob->command, /* raw command */
- T
RUE, /* expand the arguments
*/
+ T
SUC_EXPAND_ARGS, /* arguments expanded but must not be tainted
*/
0, /* not relevant when... */
NULL, /* no transporting address */
0, /* not relevant when... */
NULL, /* no transporting address */
- FALSE, /* args must be untainted */
US"queryprogram router", /* for error messages */
&addr->message)) /* where to put error message */
return DEFER;
US"queryprogram router", /* for error messages */
&addr->message)) /* where to put error message */
return DEFER;