Bug 482891

Summary: ximtoppm segfaults
Product: [Fedora] Fedora Reporter: Jindrich Novy <jnovy>
Component: netpbmAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: jnovy, pknirsch, psplicha
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 482867 Environment:
Last Closed: 2009-01-28 18:28:56 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:
Bug Depends On: 482867    
Bug Blocks:    
Attachments:
Description Flags
ximtoppm segfault fix none

Description Jindrich Novy 2009-01-28 18:10:57 UTC
+++ This bug was initially created as a clone of Bug #482867 +++

Created an attachment (id=330244)
strace output

Description of problem:
When I run the utility without parameters it segfaults.

Version-Release number of selected component (if applicable):
netpbm-progs-10.35-6.1.el5_2.2

How reproducible:
always

Steps to Reproduce:
# ximtoppm 
Segmentation fault
  
Actual results:
The utility segfaults

Expected results:
The utility does not segfault.

Additional info:

--- Additional comment from mmalik on 2009-01-28 11:31:29 EDT ---

Created an attachment (id=330245)
ltrace output

--- Additional comment from mmalik on 2009-01-28 11:41:10 EDT ---

The package netpbm-progs-10.35.54-1.fc10 in Fedora 10 is also affected.

Comment 1 Jindrich Novy 2009-01-28 18:27:40 UTC
Created attachment 330268 [details]
ximtoppm segfault fix

The utility couldn't have ever worked as it lacks command line parsing initialization code. This patch fixes it.

Comment 2 Jindrich Novy 2009-01-28 18:28:56 UTC
It is now fixed in rawhide.