Ticket #341: email2trac-2.8.0-format-security.patch

File email2trac-2.8.0-format-security.patch, 488 bytes (added by thomas.moschny@…, 8 years ago)
  • email2trac-2.8.0/run_email2trac.c

    diff -up email2trac-2.8.0/run_email2trac.c.format-security email2trac-2.8.0/run_email2trac.c
    old new void check_username(char *name) 
    5656void email2trac_log(char *message)
    5757{
    5858    openlog("run_email2trac", LOG_PID, LOG_MAIL);
    59     syslog(LOG_ERR, message);
     59    syslog(LOG_ERR, "%s", message);
    6060    closelog();
    6161}
    6262