73a9fe0066
Cox. While these programs are not installed suid root, they are often used to prepare data for processing. These errors may permit remote attackers to cause a denial of service or execute arbitrary code in any programs or scripts that use these graphics conversion tools. http://marc.theaimsgroup.com/?l=bugtraq&m=104644687816522&w=2
13 lines
396 B
Plaintext
13 lines
396 B
Plaintext
$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 )
|