public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-misc/oww/files: oww-0.86.5-format-security.patch
@ 2015-04-08  6:53 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2015-04-08  6:53 UTC (permalink / raw
  To: gentoo-commits

jlec        15/04/08 06:53:09

  Added:                oww-0.86.5-format-security.patch
  Log:
  Version Bump, bug #545636
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

Revision  Changes    Path
1.1                  sci-misc/oww/files/oww-0.86.5-format-security.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/oww/files/oww-0.86.5-format-security.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/oww/files/oww-0.86.5-format-security.patch?rev=1.1&content-type=text/plain

Index: oww-0.86.5-format-security.patch
===================================================================
 src/file.c       | 2 +-
 src/werr_linux.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/file.c b/src/file.c
index 9726564..af2f672 100644
--- a/src/file.c
+++ b/src/file.c
@@ -152,7 +152,7 @@ int file_check_file(char *file_name, int create)
 
       fp = fopen(file_name, "w") ;
       if (!fp) return 0 ;
-      fprintf(fp, setup_format_loghead) ;
+      fprintf(fp, "%s", setup_format_loghead) ;
       fprintf(fp, "\n") ;
       fclose(fp) ;
       return 1 ;
diff --git a/src/werr_linux.c b/src/werr_linux.c
index 50d3993..0f8834e 100644
--- a/src/werr_linux.c
+++ b/src/werr_linux.c
@@ -331,7 +331,7 @@ void werr(int flags, char* format, ...)
        else
          syslog_level = LOG_DEBUG ;
 
-       syslog(syslog_level, message) ;
+       syslog(syslog_level, "%s", message) ;
      }
 #    endif
 #    else  // i.e. ifndef NOGUI





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-08  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-08  6:53 [gentoo-commits] gentoo-x86 commit in sci-misc/oww/files: oww-0.86.5-format-security.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox