summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-bug-1039557
blob: 947c3edad2c22e8a56dbb148bbb3ca9934bbafff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Desciption: fix event log format with environment variables
Origin: https://github.com/sudo-project/sudo/commit/12648b4e0a8cf486480442efd52f0e0b6cab6e8b
Bug: https://github.com/sudo-project/sudo/issues/254
Forwarded: not-needed
--- a/lib/eventlog/eventlog.c
+++ b/lib/eventlog/eventlog.c
@@ -189,6 +189,7 @@ new_logline(int event_type, int flags, s
 	    sudo_lbuf_append_esc(lbuf, LBUF_ESC_CNTRL, " %s",
 		evlog->env_add[i]);
 	}
+	sudo_lbuf_append(lbuf, " ; ");
     }
     if (evlog->command != NULL && evlog->argv != NULL) {
 	/* Command plus argv. */