about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile.version2
-rw-r--r--converter/other/pamtosvg/pxl-outline.c2
-rw-r--r--doc/HISTORY4
3 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.version b/Makefile.version
index 864e0042..53dbf595 100644
--- a/Makefile.version
+++ b/Makefile.version
@@ -1,3 +1,3 @@
 NETPBM_MAJOR_RELEASE = 10
 NETPBM_MINOR_RELEASE = 35
-NETPBM_POINT_RELEASE = 38
+NETPBM_POINT_RELEASE = 39
diff --git a/converter/other/pamtosvg/pxl-outline.c b/converter/other/pamtosvg/pxl-outline.c
index 68cd0565..ecfeb229 100644
--- a/converter/other/pamtosvg/pxl-outline.c
+++ b/converter/other/pamtosvg/pxl-outline.c
@@ -260,7 +260,7 @@ find_one_centerline(bitmap_type    const bitmap,
 
     outline = new_pixel_outline();
     outline.open  = false;
-    outline.color = getBitmapColor(bitmap, row, col);
+    outline.color = getBitmapColor(bitmap, original_row, original_col);
 
     /* Add the starting pixel to the output list, changing from bitmap
        to Cartesian coordinates and specifying the left edge so that
diff --git a/doc/HISTORY b/doc/HISTORY
index 43e80d45..05445299 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,10 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+08.02.22 BJH  Release 10.35.39
+
+              pamtosvg: fix crash with -centerline.
+
 08.02.01 BJH  Release 10.35.38
 
               ppmtoarbtxt: fix array overflow.