[exim-dev] [Bug 1152] Invalid format string for sprintf in l…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ted Cooper
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1152] Invalid format string for sprintf in log_write
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1152

Ted Cooper <eximX0902w@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED





--- Comment #1 from Ted Cooper <eximX0902w@???> 2011-09-17 01:13:35 ---
This is the full code from that section. It looks like there are the correct
This is confirmed in the git version as of

commit 921b12ca0c361b9c543368edf057712afa02ca14
Author: Tony Finch <xxx>
Date: Tue Jun 7 16:48:44 2011 +0100

The LOG_PROCESS handling has been removed from log.c to prevent calling
functions that are not signal safe.

Old version from 4.76. Newer version is missing the LOG_PROCESS line.

  sprintf(CS ptr, "%s%s%s%s%s\n  ",
    ((flags & LOG_MAIN) != 0)?    " MAIN"   : "",
    ((flags & LOG_PANIC) != 0)?   " PANIC"  : "",
    ((flags & LOG_PANIC_DIE) == LOG_PANIC_DIE)? " DIE" : "",
    ((flags & LOG_PROCESS) != 0)? " PROCESS": "",
    ((flags & LOG_REJECT) != 0)?  " REJECT" : "");


Changing status to ASSIGNED, but it might be nice for a READYTOCOMMIT tag.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email