Bug 111431 - bad source code
bad source code
Product: Fedora
Classification: Fedora
Component: vte (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
: 106311 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2003-12-03 12:27 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-27 18:19:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2003-12-03 12:27:41 EST
Description of problem:
I just tried to compile package vte-0.11.10-4 from Fedora.

The compiler said


iso2022.c:1780: warning: zero-length printf format string

The source code is

	fprintf(stderr, "");

As far as I know, this does nothing. Perhaps something else
was intended ?


ssfe.c:754: warning: operation on `tmp' may be undefined

The source code is

      while (tmp>=input+inputofs+inputcursor) {

This is undefined code. Better is

      while (tmp>=input+inputofs+inputcursor) {
	    tmp[ 1] = tmp[ 0];


ssfe.c:850: warning: operation on `tmp' may be undefined
ssfe.c:862: warning: operation on `tmp' may be undefined

Similar to #2 above.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Nalin Dahyabhai 2003-12-08 19:20:58 EST
Errant line no longer present in upstream CVS, and presumably will be
fixed in 0.11.5 and later.  Thanks!
Comment 2 d.binderman 2003-12-09 04:45:40 EST
>Errant line no longer present 

line or lines ?

I reported three different things wrong.

You appear to indicate that only one is fixed.

Comment 3 Miloslav Trmac 2004-02-07 11:56:12 EST
*** Bug 106311 has been marked as a duplicate of this bug. ***
Comment 4 David Binderman 2004-11-27 08:09:18 EST
I can confirm that this bug still exists in Fedora Core 3.

It is over a year since this bug was first reported in 
Redhat 9.0.
Comment 5 Warren Togami 2004-11-27 18:19:22 EST
Please report this upstream at gnome.org's bugzilla.

Note You need to log in before you can comment on or make changes to this bug.