[exim-dev] [Bug 2909] Missing arguments in string_sprinf cal…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: admin
日付:  
To: exim-dev
題目: [exim-dev] [Bug 2909] Missing arguments in string_sprinf call
https://bugs.exim.org/show_bug.cgi?id=2909

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???


--- Comment #2 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/a1ec98dd963767551514cae86c7af56c6aa3f36e

commit a1ec98dd963767551514cae86c7af56c6aa3f36e
Author:     Ulrich Landgraf <landgraf@???>
AuthorDate: Mon Aug 15 16:50:36 2022 +0100
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Mon Aug 15 16:51:53 2022 +0100


    Fix symlink-following.  Bug 2909


    Broken-by: ef57b25bfa
---
 src/src/tls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/tls.c b/src/src/tls.c
index 76e72b5..32b29ee 100644
--- a/src/src/tls.c
+++ b/src/src/tls.c
@@ -156,7 +156,7 @@ for (unsigned loop = 20;
   if (--loop == 0) { errno = ELOOP; return FALSE; }
   filename = buf[0] == '/'
     ? string_copyn(buf, (unsigned)len)    /* mem released by tls_set_watch */
-    : string_sprintf("%.*s/%.*s", (int)(s - filename), (int)len);
+    : string_sprintf("%.*s/%.*s", (int)(s - filename), filename, (int)len,
buf);
   s = Ustrrchr(filename, '/');
   }
 if (errno != EINVAL)


--
You are receiving this mail because:
You are on the CC list for the bug.