Hi,
there's a segfault while formatting a paragraph with alt-p. The
next_word_start() in wordproc.c misses the upper boundary check.
The attached patch fixes it.
References/Reproducer:
http://bugzilla.redhat.com/194562
Jindrich
--- mc/edit/wordproc.c.jn 2005-05-27 05:35:12.0 +0200
+++
Hi,
after some refinement I'm sending a better patch that rewrites
next_word_start() and fixes the segfault.
Jindrich
--- mc/edit/wordproc.c.jn 2005-05-27 05:35:12.0 +0200
+++ mc/edit/wordproc.c 2006-06-16 18:48:42.0 +0200
@@ -198,33 +198,25 @@
}
static int
-next_word_start