cppcheck analysis of tightvnc_1.3.9-6.dsc
- ./Xvnc/config/makedepend/main.c:718 [error] - Resource leak: fdin
- ./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/font/fontfile/decompress.c:149 [possible error] - Array 'magic_header[1]' index 1 out of bounds
- ./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:1453 [error] - Uninitialized variable: hostnamebuf
- ./Xvnc/programs/Xserver/Xext/xf86vmode.c:118 [error] - Invalid number of character (() when these macros are defined: 'XF86VIDMODE_EVENTS'.
- ./Xvnc/programs/Xserver/dix/property.c:690 [error] - Uninitialized variable: pAtoms
- ./Xvnc/programs/Xserver/os/decompress.c:144 [possible error] - Array 'magic_header[1]' index 1 out of bounds
- ./Xvnc/programs/Xserver/os/k5auth.c:153 [possible error] - Memory leak: creds
- ./Xvnc/programs/Xserver/os/xdmauth.c:474 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./libvncauth/vncauth.c:111 [possible error] - Resource leak: fp
- ./libvncauth/vncauth.c:196 [possible 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 Thu, 16 Dec 2010 06:03:05 +0000, based on results by cppcheck 1.41-modif