diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-03-23 03:15:05 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-03-23 03:15:05 +0000 |
commit | da6e749ccb244e154f76058f0276d9700e94f822 (patch) | |
tree | 6101e20f318c56c85ff265003959e61e5bcbc2cc | |
parent | 5a902182c466dddc86f7a23f516a1099eb4ef194 (diff) | |
download | netpbm-mirror-da6e749ccb244e154f76058f0276d9700e94f822.tar.gz netpbm-mirror-da6e749ccb244e154f76058f0276d9700e94f822.tar.xz netpbm-mirror-da6e749ccb244e154f76058f0276d9700e94f822.zip |
Release 10.35.61
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@855 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | Makefile.version | 2 | ||||
-rw-r--r-- | converter/pbm/pbmtog3.c | 2 | ||||
-rw-r--r-- | doc/HISTORY | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.version b/Makefile.version index 117eaaae..29121c90 100644 --- a/Makefile.version +++ b/Makefile.version @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 35 -NETPBM_POINT_RELEASE = 60 +NETPBM_POINT_RELEASE = 61 diff --git a/converter/pbm/pbmtog3.c b/converter/pbm/pbmtog3.c index 10db3afe..0b536390 100644 --- a/converter/pbm/pbmtog3.c +++ b/converter/pbm/pbmtog3.c @@ -371,7 +371,7 @@ convertRowToRunLengths(unsigned char * const bitrow, r2 <<= c++; r2 <<= 1; k += c; } } - if (milepost[n - 1] != cols) + if (n == 0 || milepost[n - 1] != cols) milepost[n++] = cols; *lengthP = n; } diff --git a/doc/HISTORY b/doc/HISTORY index d2ee876c..5fd68b51 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,10 @@ Netpbm. CHANGE HISTORY -------------- +09.03.22 BJH Release 10.35.61 + + g3topbm: fix array bound violation. Introduced in 10.32. + 09.02.14 BJH Release 10.35.60 xwdtopnm: Fix for at least some direct color 24/32 images. |