summaryrefslogtreecommitdiff
path: root/dev-tcltk/expect/files/expect-5.45-format-security.patch
blob: 44ee6d1082532bc29cc6a76bd26242cef997291a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://core.tcl-lang.org/expect/info/094d670f6250f34c

 exp_clib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exp_clib.c b/exp_clib.c
index 172c05e..c86dda4 100644
--- a/exp_clib.c
+++ b/exp_clib.c
@@ -1476,8 +1476,8 @@ expDiagLogU(str)
      char *str;
 {
   if (exp_is_debugging) {
-    fprintf(stderr,str);
-    if (exp_logfile) fprintf(exp_logfile,str);
+    fprintf(stderr,"%s", str);
+    if (exp_logfile) fprintf(exp_logfile,"%s", str);
   }
 }