cppcheck analysis of tightvnc_1.3.9-6.1.dsc
- ./Xvnc/config/makedepend/main.c:254 [error] - Common realloc mistake: "undeflist" nulled but not freed upon failure
- ./Xvnc/config/makedepend/parse.c:413 [error] - Possible null pointer dereference: file - otherwise it is redundant to check if file is null at line 415
- ./Xvnc/config/util/gccmdep.cpp:33 [error] - Invalid number of character (() when these macros are defined: ''.
- ./Xvnc/config/util/makestrs.c:448 [error] - Resource leak: tmpl
- ./Xvnc/config/util/makestrs.c:740 [error] - Resource leak: f
- ./Xvnc/config/util/mdepend.cpp:69 [error] - Invalid number of character (() when these macros are defined: ''.
- ./Xvnc/config/util/mergelib.cpp:38 [error] - Invalid number of character (() when these macros are defined: ''.
- ./Xvnc/config/util/xmkmf.cpp:16 [error] - Invalid number of character (() when these macros are defined: ''.
- ./Xvnc/lib/xtrans/Xtransam.c:881 [error] - Undefined behaviour: buf 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.
- ./Xvnc/lib/xtrans/Xtransam.c:883 [error] - Undefined behaviour: buf 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.
- ./Xvnc/lib/xtrans/Xtransam.c:885 [error] - Undefined behaviour: buf 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.
- ./Xvnc/lib/xtrans/Xtransam.c:887 [error] - Undefined behaviour: buf 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.
- ./Xvnc/lib/xtrans/Xtransam.c:889 [error] - Undefined behaviour: buf 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.
- ./Xvnc/lib/xtrans/Xtranssock.c:1451 [error] - Uninitialized variable: hostnamebuf
- ./Xvnc/lib/xtrans/Xtranssock.c:1453 [error] - Uninitialized variable: hostnamebuf
- ./Xvnc/lib/xtrans/Xtransutil.c:192 [error] - Uninitialized variable: hostnamebuf
- ./Xvnc/programs/Xserver/Xext/xf86vmode.c:118 [error] - Invalid number of character (() when these macros are defined: 'NeedFunctionPrototypes;XF86VIDMODE_EVENTS'.
- ./Xvnc/programs/Xserver/os/k5auth.c:153 [error] - Memory leak: creds
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:19:10 +0000, based on results by cppcheck 1.46