From 1654da5838d87e37b18f17c20723110adff0edd9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 01:54:09 +0000 Subject: automatic import of expect --- expect-5.45-format-security.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 expect-5.45-format-security.patch (limited to 'expect-5.45-format-security.patch') diff --git a/expect-5.45-format-security.patch b/expect-5.45-format-security.patch new file mode 100644 index 0000000..24bd353 --- /dev/null +++ b/expect-5.45-format-security.patch @@ -0,0 +1,13 @@ +--- exp_clib.c.orig 2017-03-24 10:34:37.269183513 -0400 ++++ exp_clib.c 2017-03-24 10:34:41.171117943 -0400 +@@ -1938,8 +1938,8 @@ + 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); + } + } + -- cgit v1.2.3