about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/bmptopnm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/converter/other/bmptopnm.c b/converter/other/bmptopnm.c
index d8518a73..13a5fb8d 100644
--- a/converter/other/bmptopnm.c
+++ b/converter/other/bmptopnm.c
@@ -942,8 +942,6 @@ allocBmpRaster(unsigned int const rows,
     unsigned int row;
     unsigned char * startOfRows;
 
-    assert(UINT_MAX/rows > (bytesPerRow + sizeof(unsigned char *)));
-
     /* The raster array consists of an array of pointers to the rows
        followed by the rows of bytes, in a single allocated chunk of storage.
     */