about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-11-23 04:02:54 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-11-23 04:02:54 +0000
commit113e14b1f00a4632fc3e8e642983613c29841523 (patch)
tree8c1b8e418950d57b6cfa6189af9e078bac761466
parent7723939fc4682228a2089711d1f08ab4a0e52b23 (diff)
downloadnetpbm-mirror-113e14b1f00a4632fc3e8e642983613c29841523.tar.gz
netpbm-mirror-113e14b1f00a4632fc3e8e642983613c29841523.tar.xz
netpbm-mirror-113e14b1f00a4632fc3e8e642983613c29841523.zip
Release 10.47.53
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@2322 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--doc/HISTORY6
-rw-r--r--editor/pambackground.c2
-rw-r--r--version.mk2
3 files changed, 8 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index a5728751..ff701c7f 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,12 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+14.11.23 BJH  Release 10.47.53
+
+              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.11.01 BJH  Release 10.47.52
 
               Fix 'make package': missing pkgconfig_template file.
diff --git a/editor/pambackground.c b/editor/pambackground.c
index 2ee1afd5..1aa53177 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 b054e2e1..5905eb9d 100644
--- a/version.mk
+++ b/version.mk
@@ -1,3 +1,3 @@
 NETPBM_MAJOR_RELEASE = 10
 NETPBM_MINOR_RELEASE = 47
-NETPBM_POINT_RELEASE = 52
+NETPBM_POINT_RELEASE = 53