Created attachment 473765 [details] patch to fix bugs The asciitopgm program corrupts memory if any of the lines in its input text file are longer than the number of columns specified on the command line. In addition, blank lines are not handled properly in the output pgm, with the result that the text looks denser in the pgm than it actually is. The attached patch fixes both of these issues.
Bugs reported and patch submitted to bryanh, as per bug submission instructions in netpbm sourceforge home page.
Created attachment 473766 [details] corrected patch to fix bugs Woops, I left some debug code in. Here's a corrected patch.
Thanks! I updated to netpbm-10.47.25 and added your patch there as well.
netpbm-10.47.25-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/netpbm-10.47.25-1.fc14
netpbm-10.47.25-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/netpbm-10.47.25-1.fc13
netpbm-10.47.25-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
netpbm-10.47.25-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.