$OpenBSD: patch-pbm_pbmlife_c,v 1.1 2003/03/29 04:13:54 brad Exp $
--- pbm/pbmlife.c.orig	Mon Oct  4 05:10:37 1993
+++ pbm/pbmlife.c	Fri Mar 28 20:22:06 2003
@@ -54,7 +54,7 @@ char* argv[];
 	prevrow = thisrow;
 	thisrow = nextrow;
 	nextrow = temprow;
-	if ( row < rows - 1 )
+	if ( row <= rows )
 	    pbm_readpbmrow( ifp, nextrow, cols, format );
 
         for ( col = 0; col < cols; ++col )
