From b2f24e95ba3103f8002578f4c2607d5744b6007c Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 27 Sep 2019 18:45:12 +0200 Subject: env.c: make FETCHMAILHOME (fmhome) absolute. If FETCHMAILHOME is specified as relative path, then it can become the victim of a chdir("/") that happens in daemon mode, so that switching to daemon mode will change behaviour of FETCHMAILHOME. Reported by Alex Andreotti, Debian Bug #941129. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 006a5969..1a4ea966 100644 --- a/NEWS +++ b/NEWS @@ -188,6 +188,9 @@ fetchmail-6.4.0 (not yet released): that quoted-printable-encoded multipart messages can get decoded. (Regression in 5.0.0 on 1999-03-27, as a side effect of a PGP-mimedecode fix attributed to Henrik Storner.) +* FETCHMAILHOME can now safely be a relative path, which will be qualified + through realpath(). Previously, it had to be absolute in daemon mode. + Reported by Alex Andreotti, Debian Bug#941129. ## UPDATED TRANSLATIONS - THANKS TO: * CS: Petr Pisar [Czech] -- cgit v1.2.3