about summary refs log tree commit diff
path: root/editor/specialty
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-12-16 20:57:52 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-12-16 20:57:52 +0000
commit59a5e9993dd8e5c49e31323408e3181740adfa55 (patch)
treec89253345de7625c800a327c855dbe21366129a3 /editor/specialty
parent014eb66ce4db1bc2c1b23c5266b00e8b83ba00c2 (diff)
downloadnetpbm-mirror-59a5e9993dd8e5c49e31323408e3181740adfa55.tar.gz
netpbm-mirror-59a5e9993dd8e5c49e31323408e3181740adfa55.tar.xz
netpbm-mirror-59a5e9993dd8e5c49e31323408e3181740adfa55.zip
Fix invalid memory reference bug from recent cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4809 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/specialty')
-rw-r--r--editor/specialty/pnmindex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/specialty/pnmindex.c b/editor/specialty/pnmindex.c
index d843cb4f..5bde6c54 100644
--- a/editor/specialty/pnmindex.c
+++ b/editor/specialty/pnmindex.c
@@ -341,7 +341,8 @@ copyImage(const char * const inputFileNm,
     pm_system2_lp("cat",
                   &pm_feed_from_file, (void*)inputFileNm,
                   &pm_accept_to_file, (void*)outputFileNm,
-                  &termStatus);
+                  &termStatus,
+                  NULL);
 
     if (termStatus != 0)
         pm_error("'cat' to copy image '%s' to '%s' failed, "