jlec 15/06/22 13:35:33 Added: expect-5.45-format-security.patch Log: Add fix for format-security, bug #520588 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
Revision Changes Path 1.1 dev-tcltk/expect/files/expect-5.45-format-security.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/expect/files/expect-5.45-format-security.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/expect/files/expect-5.45-format-security.patch?rev=1.1&content-type=text/plain Index: expect-5.45-format-security.patch =================================================================== 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); } }
