Re: [logs] Syslog payload format

From: Mikael Olsson (mikael.olssonat_private)
Date: Thu Dec 19 2002 - 00:10:02 PST

  • Next message: marc: "Re: [logs] Syslog payload format"

    "Marcus J. Ranum" wrote:
    > 
    > [...]
    >         syslog(LOG_NOTICE,buf);
    > [...]
    >
    > RULE #3:
    >         - the API for tossing event records should be EASIER to use than
    >         the current syslog API and should inherently discourage
    >         implementation of buffer overruns
    
    Pfft. Forget about buffer overruns. With code like ^^^ you should be
    spending a lot more time worrying about format string attacks :)
    
    /Mike, nit-picker
    
    -- 
    Mikael Olsson, Clavister AB
    Storgatan 12, Box 393, SE-891 28 ÖRNSKÖLDSVIK, Sweden
    Phone: +46 (0)660 29 92 00   Mobile: +46 (0)70 26 222 05
    Fax: +46 (0)660 122 50       WWW: http://www.clavister.com
    _______________________________________________
    LogAnalysis mailing list
    LogAnalysisat_private
    http://lists.shmoo.com/mailman/listinfo/loganalysis
    



    This archive was generated by hypermail 2b30 : Thu Dec 19 2002 - 19:28:59 PST