diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-09-29 18:32:25 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-09-29 18:32:25 +0000 |
commit | 022c7d37e5a2e86948dd066f79c773af42d4a55b (patch) | |
tree | 5a452af5651b4d8bcc722c381c430eb193221e4d /converter/ppm | |
parent | af1a80d96f9bfb2086dd5314904d08583773df09 (diff) | |
download | netpbm-mirror-022c7d37e5a2e86948dd066f79c773af42d4a55b.tar.gz netpbm-mirror-022c7d37e5a2e86948dd066f79c773af42d4a55b.tar.xz netpbm-mirror-022c7d37e5a2e86948dd066f79c773af42d4a55b.zip |
Fix uninitialized realloc variable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4708 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm')
-rw-r--r-- | converter/ppm/pjtoppm.c | 1 |
1 files changed, 1 insertions, 0 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) { |