Mailing List Archive

[Bug 2909] Missing arguments in string_sprinf call
https://bugs.exim.org/show_bug.cgi?id=2909

Git Commit <git@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |git@exim.org

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

commit a1ec98dd963767551514cae86c7af56c6aa3f36e
Author: Ulrich Landgraf <landgraf@physik.uni-freiburg.de>
AuthorDate: Mon Aug 15 16:50:36 2022 +0100
Commit: Jeremy Harris <jgh146exb@wizmail.org>
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.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2909] Missing arguments in string_sprinf call [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2909

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2909] Missing arguments in string_sprinf call [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2909

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high

--- Comment #1 from Jeremy Harris <jgh146exb@wizmail.org> ---
Thanks for noticing this foolishness!

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2909] Missing arguments in string_sprinf call [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2909

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|4.96 |4.96+
Target Milestone|Exim 4.96 |Exim 4.97

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##