summaryrefslogtreecommitdiff
path: root/expect-5.45-format-security.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:59:28 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:59:28 +0000
commit54c2e843134660a26a8923517d09519ce884c422 (patch)
treed338e64c26d86c31821227b5e62daf1144fdd1f1 /expect-5.45-format-security.patch
parent620ca363f3f7629f6b720c849aeb7a66a3e05ea0 (diff)
automatic import of expectopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'expect-5.45-format-security.patch')
-rw-r--r--expect-5.45-format-security.patch13
1 files changed, 13 insertions, 0 deletions
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);
+ }
+ }
+