cppcheck analysis of cmor_2.5.2-1.dsc
- ./Src/cmor.c:348 [error] - Dangerous usage of 'version' (strncpy doesn't always 0-terminate it)
- ./Src/cmor_axes.c:959 [error] - Memory leak: tmp_values
- ./Src/cmor_axes.c:71 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./Src/cmor_axes.c:1006 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./Src/cmor_axes.c:1045 [error] - Undefined behaviour: ctmp is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./Src/cmor_tables.c:198 [error] - Undefined behaviour: value is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./Src/cmor_tables.c:152 [error] - Dangerous usage of 'value' (strncpy doesn't always 0-terminate it)
- ./Src/cmor_variables.c:1381 [error] - Memory leak: data_tmp
- ./Src/cmor_variables.c:1381 [error] - Memory leak: idata_tmp
- ./Src/cmor_variables.c:1381 [error] - Memory leak: ldata_tmp
- ./Src/cmor_variables.c:1381 [error] - Memory leak: fdata_tmp
- ./show_git.c:10 [error] - Resource leak: fp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 24 Dec 2010 21:58:03 +0000, based on results by cppcheck 1.46