Bug 118175

Summary: 4 * printf problems
Product: [Fedora] Fedora Reporter: d.binderman
Component: eximAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:01:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-03-12 19:48:12 UTC
Description of problem:

I just tried to compile Fedora Core2 Test1 package exim-4.30-5

The compiler said

1.

pipe.c(835): warning #268: the format string ends before this argument

The source code is

    addr->message = string_sprintf("pipe delivery process timed out",
      tblock->name);

No % specifiers, but one trailing parameter.

2.

smtp.c(1497): warning #268: the format string ends before this argument

Source code is

  message = US string_sprintf("send() to %s [%s] failed",
    host->name, host->address, strerror(save_errno));

Two % specifiers, three trailing parameters.

3.

smtp.c(1644): warning #268: the format string ends before this argument

Duplicate.

4.

smtp_out.c(110): warning #267: the format string requires additional
arguments

The source code is

  addr->message = string_sprintf("failed to expand \"%s\" (\"port\"
option) "
    "for %s: %s", msg, expand_string_message);

Three % specifiers, but only two trailing parameters. A certain
run time problem.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Thomas Woerner 2004-07-02 12:56:01 UTC

*** This bug has been marked as a duplicate of 116355 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:01:57 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.