cppcheck analysis of httrack_3.43.11-1.dsc
- ./src/htscore.c:1335 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/htscore.c:3021 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/htscoremain.c:253 [error] - Memory leak: x_argvblk
- ./src/htscoremain.c:2228 [error] - Resource leak: dir
- ./src/htscoremain.c:1906 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/htscoremain.c:2141 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/htscoremain.c:2281 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/htsindex.c:210 [error] - Resource leak: tmpfp
- ./src/htslib.c:5020 [error] - Resource leak: fp
- ./src/htslib.c:5059 [error] - Resource leak: fp
- ./src/htslib.c:5071 [error] - Resource leak: fp
- ./src/htslib.c:5086 [error] - Resource leak: fp
- ./src/htslib.c:5107 [error] - Resource leak: fp
- ./src/htslib.c:5147 [error] - Resource leak: fp
- ./src/htslib.c:5156 [error] - Resource leak: fp
- ./src/htslib.c:5162 [error] - Resource leak: fp
- ./src/htslib.c:5168 [error] - Resource leak: fp
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'DATADIR'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'FTIME'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_CECOMPAT;_WIN32;_WIN32_WCE'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_CECOMPAT;_WIN32_WCE'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_DO_NOT_REDEFINE_in_addr_t'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_NOINCLUDES'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_NO_64_BIT'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_TRACE_MALLOC'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTS_TRACE_MALLOC;_DEBUG'.
- ./src/htsparse.c:2271 [error] - Invalid number of character (() when these macros are defined: 'HTTRACK_DEFLIB'.
- ./src/htsserver.c:277 [error] - Memory leak: buffer
- ./src/htswizard.c:716 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/httrack.c:572 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/httrack.c:579 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/httrack.c:601 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/minizip/unzip.c:528 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 529
- ./src/minizip/unzip.c:1097 [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 1099
- ./src/minizip/mztools.h:11 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
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:14:48 +0000, based on results by cppcheck 1.46