$OpenBSD: patch-pbm_pbmtomgr_c,v 1.1 2003/03/29 04:13:54 brad Exp $ --- pbm/pbmtomgr.c.orig Mon Oct 4 05:10:50 1993 +++ pbm/pbmtomgr.c Fri Mar 28 20:22:06 2003 @@ -43,6 +43,7 @@ main( argc, argv ) bitrow = pbm_allocrow( cols ); /* Round cols up to the nearest multiple of 8. */ + overflow_add(cols, 7); padright = ( ( cols + 7 ) / 8 ) * 8 - cols; putinit( rows, cols );