diff options
-rw-r--r-- | converter/ppm/411toppm.c | 3 | ||||
-rw-r--r-- | doc/HISTORY | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/converter/ppm/411toppm.c b/converter/ppm/411toppm.c index b5e3c03b..c87d05a9 100644 --- a/converter/ppm/411toppm.c +++ b/converter/ppm/411toppm.c @@ -215,6 +215,9 @@ main(int argc, const char **argv) { ppm_writeppmrow(stdout, pixrow, cmdline.width, 255, 0); } + if (fgetc(ifP) != EOF) + pm_message("Extraneous data at end of image."); + pm_close(ifP); ppm_freerow(pixrow); diff --git a/doc/HISTORY b/doc/HISTORY index c512bab4..5dfe3541 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -15,6 +15,9 @@ not yet BJH Release 10.63.00 yuvtoppm: check for inconsistencies between specified width and height and size of input. + 411toppm: check for inconsistencies between specified + width and height and size of input. + pnmtops: Fix bug: only first image gets converted. Broken in Netpbm 10.56 (September 2011). |