diff options
-rw-r--r-- | doc/HISTORY | 5 | ||||
-rw-r--r-- | lib/libpbmfont.c | 2 | ||||
-rw-r--r-- | version.mk | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index f416aaca..3ae601f1 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,11 @@ Netpbm. CHANGE HISTORY -------------- +17.08.11 BJH Release 10.79.04 + + libnetpbm: font facilities: fix invalid memory reference with + certain font files. + 17.08.02 BJH Release 10.79.03 pbmtoibm23xx: change license terms to GPL 2 or later. diff --git a/lib/libpbmfont.c b/lib/libpbmfont.c index 5193cd35..77724127 100644 --- a/lib/libpbmfont.c +++ b/lib/libpbmfont.c @@ -467,7 +467,7 @@ tokenize(char * const s, *p++ = '\0'; else { words[n++] = p; - if (n >= maxWordCt) + if (n >= maxWordCt-1) break; while (*p && !ISSPACE(*p)) ++p; diff --git a/version.mk b/version.mk index 4bdc2f9f..2dd1a5dd 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 79 -NETPBM_POINT_RELEASE = 3 +NETPBM_POINT_RELEASE = 4 |