tags 103820 +patch 
thanks

As part of my NM process I have prepared a patch for this bug.

I tracked it down to a single buggy line. The sign of a value was wrong,
leading to an invalid (negative) array index and thus to a segfault.

Best regards 

Ben


diff -Nau joe-3.5/b.c joe-3.5-modified/b.c
--- joe-3.5/b.c	2006-07-19 02:19:05.000000000 +0200
+++ joe-3.5-modified/b.c	2008-05-31 16:26:10.000000000 +0200
@@ -2510,7 +2510,7 @@
 	return berror = 0;
 err:
 	prm(np);
-	return berror = 5;
+	return berror = -5;
 }
 
 /* Save 'size' bytes beginning at 'p' in file 's' */

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to