6ae131
diff -up netpbm-10.35.57/converter/other/pamtosvg/fit.c.pamtosvgsegfault netpbm-10.35.57/converter/other/pamtosvg/fit.c
6ae131
--- netpbm-10.35.57/converter/other/pamtosvg/fit.c.pamtosvgsegfault	2008-12-15 10:04:49.000000000 +0100
6ae131
+++ netpbm-10.35.57/converter/other/pamtosvg/fit.c	2008-12-19 09:10:01.000000000 +0100
6ae131
@@ -1852,6 +1852,7 @@ find_error (curve_type curve, spline_typ
6ae131
 
6ae131
   if (*worst_point == CURVE_LENGTH (curve) + 1)
6ae131
     { /* Didn't have any ``worst point''; the error should be zero.  */
6ae131
+      *worst_point = 0;
6ae131
       if (epsilon_equal (total_error, 0.0))
6ae131
         LOG ("  Every point fit perfectly.\n");
6ae131
       else