cppcheck analysis of canna_3.7p3-6.3.dsc
- ./ccustom/lisp.c:2382 [error] - Resource leak: instream
- ./cmd/cannastat/cannastat.c:458 [error] - Undefined behaviour: ctime 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.
- ./cmd/cannastat/cannastat.c:460 [error] - Undefined behaviour: ctime 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.
- ./cmd/cannastat/cannastat.c:462 [error] - Undefined behaviour: ctime 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.
- ./cmd/cannastat/cannastat.c:464 [error] - Undefined behaviour: ctime 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.
- ./cmd/cannastat/cannastat.c:245 [error] - Undefined behaviour: buf1 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.
- ./cmd/cannastat/cannastat.c:248 [error] - Undefined behaviour: buf2 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.
- ./cmd/cannastat/cannastat.c:250 [error] - Undefined behaviour: buf2 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.
- ./cmd/catdic/rutil.c:387 [error] - Buffer access out-of-bounds
- ./cmd/catdic/rutil.c:477 [error] - Buffer access out-of-bounds
- ./cmd/crxdic/crxdic.c:307 [error] - Resource leak: fp
- ./cmd/dpxdic/dpxdic.c:210 [error] - Memory leak: buf
- ./cmd/dpxdic/dpxdic.c:245 [error] - Memory leak: buf
- ./cmd/mkbindic/mkbindic.cpp:51 [error] - Invalid number of character (() when these macros are defined: ''.
- ./cmd/mkbindic/mkbindic.cpp:51 [error] - Invalid number of character (() when these macros are defined: 'USE_OBSOLETE_STYLE_FILENAME'.
- ./cmd/mkbindic/mkbindic.cpp:51 [error] - Invalid number of character (() when these macros are defined: 'nec_ews'.
- ./cmd/mkromdic/mkromdic.cpp:38 [error] - Invalid number of character (() when these macros are defined: ''.
- ./lib/RK/RKintern.h:79 [error] - Invalid number of character ({) when these macros are defined: 'NOT_DEF'.
- ./lib/RK/bun.c:438 [error] - Invalid number of character (() when these macros are defined: 'OPTIMIZE'.
- ./lib/RK/context.c:262 [error] - Invalid number of character (() when these macros are defined: 'OPTIMIZE'.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: 'CANNA_LIGHT'.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: 'CANNA_WCHAR16'.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: 'DEBUGPROTO'.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: 'EMSGSIZE'.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: 'LESS_SPACE_IS_IMPORTANT'.
- ./lib/RKC/convert.c:281 [error] - Invalid number of character ({) when these macros are defined: 'SIGNALRETURNSINT'.
- ./lib/RKC/wconvert.c:483 [error] - Undefined behaviour: hostname 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.
- ./server/convert.c:1970 [error] - Undefined behaviour: buf1 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.
- ./server/convert.c:1973 [error] - Undefined behaviour: buf2 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.
- ./server/convert.c:1975 [error] - Undefined behaviour: buf2 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.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:46:31 +0000, based on results by cppcheck 1.41-modif