Re: The SUPER Bug

From: Martin Schulze (joey@infodrom.org)
Date: Wed Jul 31 2002 - 19:40:07 CEST

  • Next message: William Deich: "Re: The SUPER Bug"

    Martin Schulze wrote:
    > Hi Will,
    >
    > I'm not sure you have already received this mail, but it's of interest
    > of course.

    Robert Luberda <robert@debian.org> of Debian has prepared the patch
    below. I'd be glad if you could apply it and release a new version
    asap.

    --- error.c.old Wed May 15 23:16:46 2002
    +++ error.c Wed Jul 31 18:43:50 2002
    @@ -168,12 +168,12 @@
     void rsyslog P__(( unsigned int level, char *fmt, ... ));
     
     #define OpenLog(prog, opt, fac) ropenlog((prog), (opt), (fac),
    error_rlog_host)
    -#define SysLog(pri, buf) rsyslog((pri), (buf))
    +#define SysLog(pri, buf) rsyslog((pri), "%s", (buf))
     
     #else
     
     #define OpenLog(prog, opt, fac) openlog((prog), (opt), (fac))
    -#define SysLog(pri, buf) syslog((pri), (buf))
    +#define SysLog(pri, buf) syslog((pri), "%s", (buf))
     
     #endif

    Regards,

            Joey

    -- 
    No question is too silly to ask, but, of course, some are too silly
    to answer.   -- Perl book
    

    Please always Cc to me when replying to me on the lists.



    This archive was generated by hypermail 2.1.4 : Wed Jul 31 2002 - 19:47:13 CEST