about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/ppm/pjtoppm.c1
-rw-r--r--doc/HISTORY9
2 files changed, 7 insertions, 3 deletions
diff --git a/converter/ppm/pjtoppm.c b/converter/ppm/pjtoppm.c
index 7932886c..45746495 100644
--- a/converter/ppm/pjtoppm.c
+++ b/converter/ppm/pjtoppm.c
@@ -179,6 +179,7 @@ main(int argc, const char ** argv) {
     colsIsSet = false;  /* initial value */
     rowsX = 0;  /* initial value */
     image = NULL;  /* initial value */
+    imlen = NULL;  /* initial value */
     planes = 3;  /* initial value */
 
     while ((c = fgetc(ifP)) != -1) {
diff --git a/doc/HISTORY b/doc/HISTORY
index 80fe6b40..4ccbdf80 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,10 +4,13 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
-notyet   BJH  Release 11.05.00
+not yet  BJH  Release 11.05.00
 
-              Fix compile error on systems without 'asprintf'.  Introduced
-              in Netpbm 11.04 (September 2023).
+              pjtoppm: fix crash based on uninitialized variable.
+              Introduced in Netpbm 11.04 (September 2023).
+
+              Build: Fix compile error on systems without 'asprintf'.
+              Introduced in Netpbm 11.04 (September 2023).
 
 23.09.27 BJH  Release 11.04.00