cppcheck analysis of canna_3.7p3-6.5.dsc
- ./canuum/printf.c:69 [error] - Uninitialized variable: buf
- ./canuum/printf.c:112 [error] - Uninitialized variable: tmp_wch
- ./ccustom/lisp.c:1142 [error] - Common realloc mistake: "untyibuf" nulled but not freed upon failure
- ./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: ans
- ./cmd/catdic/rutil.c:477 [error] - Buffer access out-of-bounds: ans
- ./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:248 [error] - Uninitialized variable: sx
- ./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_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/rkc.c:1428 [error] - Uninitialized variable: buf
- ./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 Mon, 20 Dec 2010 21:12:51 +0000, based on results by cppcheck 1.46