summaryrefslogtreecommitdiffstats
path: root/debian/patches/0018-Add-missing-separator-between-environment-variables-.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 05:56:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 05:56:05 +0000
commit87d04d939bf6a6b5bf39d47ce9af84d536662b27 (patch)
tree9b5bd895adcf2aa1678848c8bb65571318b769ad /debian/patches/0018-Add-missing-separator-between-environment-variables-.patch
parentReleasing progress-linux version 1.8.27-1+deb10u5progress5u1. (diff)
downloadsudo-87d04d939bf6a6b5bf39d47ce9af84d536662b27.tar.xz
sudo-87d04d939bf6a6b5bf39d47ce9af84d536662b27.zip
Merging debian version 1.8.27-1+deb10u6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/0018-Add-missing-separator-between-environment-variables-.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0018-Add-missing-separator-between-environment-variables-.patch b/debian/patches/0018-Add-missing-separator-between-environment-variables-.patch
new file mode 100644
index 0000000..ee38855
--- /dev/null
+++ b/debian/patches/0018-Add-missing-separator-between-environment-variables-.patch
@@ -0,0 +1,24 @@
+From: "Todd C. Miller" <Todd.Miller@sudo.ws>
+Date: Mon, 13 Mar 2023 08:04:32 -0600
+Subject: Add missing " ;
+ " separator between environment variables and command.
+
+This is a regression introduced in sudo 1.9.13. GitHub issue #254.
+
+bug: https://github.com/sudo-project/sudo/issues/254
+---
+ plugins/sudoers/logging.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/plugins/sudoers/logging.c b/plugins/sudoers/logging.c
+index bb31861..65ee04e 100644
+--- a/plugins/sudoers/logging.c
++++ b/plugins/sudoers/logging.c
+@@ -955,6 +955,7 @@ new_logline(const char *message, const char *errstr)
+ sudo_lbuf_append_esc(&lbuf, LBUF_ESC_CNTRL, " %s",
+ sudo_user.env_vars[i]);
+ }
++ sudo_lbuf_append(&lbuf, " ; ");
+ }
+ if (user_cmnd != NULL) {
+ sudo_lbuf_append_esc(&lbuf, LBUF_ESC_CNTRL|LBUF_ESC_BLANK,