Bug 105839 - libungif bad source code
Summary: libungif bad source code
Keywords:
Status: CLOSED DUPLICATE of bug 78707
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libungif
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-28 11:14 UTC by d.binderman
Modified: 2013-04-02 04:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:58:49 UTC
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2003-09-28 11:14:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk  (Win98; I)

Description of problem:

Hello there,

I just tried to compile package libungif-4.1.0-15 from Radhat 9.0
with compiler option -Wall.

The compiler said

gifinfo.c:163: warning: too few arguments for format

The source code is

                    fprintf(stderr, "Image %d is not confined to screen dimension, aborted.\n");

Sounds like a missing number for the %d to me.



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


How reproducible:
Always

Steps to Reproduce:
1. compile with -Wall.
2.
3.
    

Additional info

Comment 1 Jef Spaleta 2004-02-25 16:18:40 UTC
Even though this is a newer package, the same warning is being generated
from the same line in the gifinfo.c file, so i'm going to mark this as a 
duplicate of the bug from the older package.

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

Comment 2 Red Hat Bugzilla 2006-02-21 18:58:49 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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