Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 224554 - bmptoppm stopps with "BMPlencolormap: internal error!"
bmptoppm stopps with "BMPlencolormap: internal error!"
Product: Fedora
Classification: Fedora
Component: netpbm (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-01-26 08:50 EST by Herbert Gasiorowski
Modified: 2013-07-02 19:19 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-30 09:08:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Image to reproduce this bug (test.ppm) (16.42 KB, image/x-portable-pixmap)
2007-01-27 05:55 EST, Herbert Gasiorowski
no flags Details

  None (edit)
Description Herbert Gasiorowski 2007-01-26 08:50:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Description of problem:
Using kickstart to install fedora 0.94 with (any)
"xconfig" option causes anaconda to exit abnormally.

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


How reproducible:

Steps to Reproduce:
1. execute "ppmtobmp test.ppm | bmptoppm > x.ppm"

Actual Results:
ppmtobmp: analyzing colors...
ppmtobmp: 6 colors found
ppmtobmp: Writing 4 bits per pixel with a color palette
bmptoppm: BMPlencolormap: internal error!

Expected Results:
With previous versions the following is shown and a BMP is produced:
ppmtobmp: analyzing colors...
ppmtobmp: 6 colors found
ppmtobmp: Writing 4 bits per pixel with a color palette
bmptoppm: Windows BMP, 100x56x4

Additional info:
Comment 1 Jindrich Novy 2007-01-26 10:49:42 EST
Could you please attach the test.ppm image?
Comment 2 Jindrich Novy 2007-01-26 11:01:59 EST
Never mind, I reproduced it successfully with my sample image.
Comment 3 Herbert Gasiorowski 2007-01-27 05:55:35 EST
Created attachment 146742 [details]
Image to reproduce this bug (test.ppm)

Just to make shure (I thought I had attached it - but something went wrong ...)
Comment 4 Jindrich Novy 2007-01-29 07:44:52 EST
Ok, bmptopnm uses condition dependent on uninitialized BMPheader structure
member what causes the internal error as it doesn't read the header at all when
the uninitialized member is zero.

It is now fixed since 10.35-10 in rawhide. FC updates are comming soon.
Comment 5 Alexey Tourbin 2007-08-19 15:40:45 EDT
Actually this bug was added with netpbm-10.22-cmapsize.patch.
You then revert the change with netpbm-10.27-bmptopnm.patch.
You should merge both patches so that they annihilate each other.

Alexey Tourbin
ALT Linux Team
Comment 6 Jindrich Novy 2007-08-20 08:48:52 EDT
Fixed, thanks.

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