Bug 105839

Summary: libungif bad source code
Product: [Retired] Red Hat Linux Reporter: d.binderman
Component: libungifAssignee: Jonathan Blandford <jrb>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: ddumas
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 18:58:49 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 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.