cppcheck analysis of libhdf4_4.1r4-22.dsc
- ./hdf/fmpool/test_fmpio.c:70 [error] - Buffer overrun possible for long cmd-line args
- ./hdf/fmpool/tfmpio_read.c:70 [error] - Buffer overrun possible for long cmd-line args
- ./hdf/fmpool/tfmpio_write.c:70 [error] - Buffer overrun possible for long cmd-line args
- ./hdf/jpeg/jerror.c:103 [error] - Uninitialized variable: buffer
- ./hdf/jpeg/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./hdf/jpeg/wrjpgcom.c:583 [error] - Memory leak: comment_arg
- ./hdf/src/hfile.c:4761 [error] - Uninitialized variable: cur_dirp
- ./hdf/src/maldebug.c:650 [error] - Uninitialized variable: fp
- ./hdf/util/fp2hdf.c:1758 [error] - Resource leak: strm
- ./hdf/util/gifread.c:393 [error] - Common realloc mistake: "ptr2" nulled but not freed upon failure
- ./hdf/util/he_main.c:284 [error] - Resource leak: fd
- ./hdf/util/he_main.c:495 [error] - Resource leak: fp
- ./hdf/util/he_main.c:549 [error] - Resource leak: fp
- ./hdf/util/he_main.c:916 [error] - Resource leak: fp
- ./hdf/zlib/contrib/minizip/miniunz.c:297 [error] - Uninitialized variable: rep
- ./hdf/zlib/contrib/minizip/unzip.c:452 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 453
- ./hdf/zlib/contrib/minizip/unzip.c:929 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 931
- ./hdf/zlib/contrib/minizip/zip.c:714 [error] - Possible null pointer dereference: zi - otherwise it is redundant to check if zi is null at line 715
- ./hdf/zlib/gzio.c:124 [error] - Memory leak: s.path
- ./mfhdf/c++/netcdf.cc:527 [error] - Memory leak: valp
- ./mfhdf/doc/texindex.c:1559 [error] - Uninitialized variable: result
Note: this report is incomplete, which means that an error ocurred
while checking this package and not all of the code was analysed.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:15:50 +0000, based on results by cppcheck 1.46