From 154805ffc3d286cc003068ef87b6ed7285d5414d Mon Sep 17 00:00:00 2001 From: Mark Janssen Date: Tue, 2 Nov 2004 16:04:57 +0000 Subject: [PATCH] Security fix git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@65 bc163920-b10d-0410-b2c5-a5491ca2ceef --- config.h | 2 +- messages.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 22d17a7..8475f87 100755 --- a/config.h +++ b/config.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define VERSION "1.2.2" +#define VERSION "1.2.3" #define PACKAGE "Proxytunnel" #define PURPOSE "Build generic tunnels through HTTPS proxies" #define AUTHORS "Jos Visser (Muppet) , Mark Janssen (Maniac) " diff --git a/messages.c b/messages.c index 7fbe277..692bcfb 100644 --- a/messages.c +++ b/messages.c @@ -37,7 +37,7 @@ void message( char *s, ... ) va_end( ap ); if ( i_am_daemon ) - syslog( LOG_NOTICE, buf ); + syslog( LOG_NOTICE, "%s", buf ); else fputs( buf, stderr ); }