about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-09-25 21:16:35 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-09-25 21:16:35 +0000
commit3f8b109ed81ec931deed12d379f9c7d008084a7b (patch)
tree3b96e8a7c33035f1bd971bedce3067a485a80f29 /converter
parent827788b51cc9e6ccd9050a3fc5933f092bb52b22 (diff)
downloadnetpbm-mirror-3f8b109ed81ec931deed12d379f9c7d008084a7b.tar.gz
netpbm-mirror-3f8b109ed81ec931deed12d379f9c7d008084a7b.tar.xz
netpbm-mirror-3f8b109ed81ec931deed12d379f9c7d008084a7b.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4692 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/ppm/pjtoppm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/ppm/pjtoppm.c b/converter/ppm/pjtoppm.c
index 5abab142..7932886c 100644
--- a/converter/ppm/pjtoppm.c
+++ b/converter/ppm/pjtoppm.c
@@ -90,7 +90,7 @@ modifyImageMode1(unsigned int     const rows,
             }
         }
     }
-    *colsP = cols * 8;
+    *colsP = cols * 8;  assert(cols < UINT_MAX/8);
 }