about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY8
-rw-r--r--editor/pambackground.c2
-rw-r--r--version.mk2
3 files changed, 10 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index 1234c36a..4ed4239d 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,12 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+14.11.23 BJH  Release 10.68.02
+
+              pambackground: fix bug: segfault or incorrect results in most
+              cases.  Thanks Ludolf Holzheid (ludolf.holzheid@gmx.de).
+              Introduced in Netpbm 10.37 (December 2006).
+
 14.09.28 BJH  Release 10.68.01
 
               Windows build: fix universal build failure with "No rule to make
@@ -12,6 +18,8 @@ CHANGE HISTORY
 
 14.09.26 BJH  Release 10.68.00
 
+              Split pgmcrater into pamcrater and pamshadedrelief.
+
               pnmconvol: add -bias .
 
               Remove pnmcomp, install a pnmcomp symlink for pamcomp.
diff --git a/editor/pambackground.c b/editor/pambackground.c
index c27d071d..b4941042 100644
--- a/editor/pambackground.c
+++ b/editor/pambackground.c
@@ -353,7 +353,7 @@ expandBackgroundVert(unsigned char ** const pi,
     unsigned int col;
     bool expanded;
 
-    for (col = 1, expanded = FALSE; col < height-1; ++col) {
+    for (col = 1, expanded = FALSE; col < width-1; ++col) {
         int row;
 
         for (row = 1; row < height - 1; ++row) {
diff --git a/version.mk b/version.mk
index a7d1d7e9..f2d33160 100644
--- a/version.mk
+++ b/version.mk
@@ -1,3 +1,3 @@
 NETPBM_MAJOR_RELEASE = 10
 NETPBM_MINOR_RELEASE = 68
-NETPBM_POINT_RELEASE = 1
+NETPBM_POINT_RELEASE = 2