forked from pool/expect
75ac0d61dd
- add expect-5.45-format-security.patch OBS-URL: https://build.opensuse.org/request/show/970919 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/expect?expand=0&rev=32
14 lines
276 B
Diff
14 lines
276 B
Diff
--- exp_clib.c.orig
|
|
+++ exp_clib.c
|
|
@@ -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);
|
|
}
|
|
}
|
|
|