Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. try to write a (raw) file with bytes_per_sample > 2 2. file is invalid 3. Actual results: invalid file of wrong size Expected results: a valid file... Additional info: The culprit is in lib/libpamwrite.c: switch(pamP->bytes_per_sample){ case 1: format1BpsRow(pamP, tuplerow, outbuf, rowSizeP); break; case 2: format1BpsRow(pamP, tuplerow, outbuf, rowSizeP); break; case 3: format1BpsRow(pamP, tuplerow, outbuf, rowSizeP); break; case 4: format1BpsRow(pamP, tuplerow, outbuf, rowSizeP); break; Which is obviously bogus. This is fixed in version 1.33, perhaps earlier, for fedora
Confirmed that this bug is present in netpbm-10.25 (RHEL4) and is fixed rawhide.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0651.html