cppcheck analysis of xmcd_2.6-23.dsc
- ./cda_d/visual.c:535 [error] - Memory leak: name
- ./cddb_d/cddb_ext.c:1110 [error] - Memory leak: buf
- ./cddb_d/cddb_ext.c:1190 [error] - Resource leak: dp
- ./cddb_d/cddb_int.c:1002 [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.
- ./cddb_d/cddb_int.c:1006 [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.
- ./cddb_d/cddb_int.c:1017 [error] - Undefined behaviour: urlstr 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.
- ./cddb_d/cddb_int.c:1024 [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.
- ./cddb_d/cddb_int.c:1030 [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.
- ./cddb_d/cddb_int.c:1040 [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.
- ./cddb_d/cddb_int.c:1045 [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.
- ./cddb_d/cddb_int.c:1264 [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.
- ./cddb_d/cddb_int.c:1269 [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.
- ./cddb_d/cddb_int.c:3135 [error] - Undefined behaviour: tmpbuf 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.
- ./cddb_d/hist.c:139 [error] - Resource leak: ifp
- ./cddb_d/hist.c:226 [error] - Resource leak: ofp
- ./cddb_d/hist.c:445 [error] - Memory leak: histbuf
- ./libdi_d/libdi.c:1611 [error] - Resource leak: fp
- ./libdi_d/libdi.c:2185 [error] - Resource leak: fp
- ./libdi_d/os_aix.c:212 [error] - instance of "di_devreg" object destroyed immediately
- ./libdi_d/os_bsdi.c:249 [error] - Resource leak: fd
- ./libdi_d/os_bsdi.c:276 [error] - instance of "di_devreg" object destroyed immediately
- ./libdi_d/os_dgux.c:167 [error] - instance of "di_devreg" object destroyed immediately
- ./libdi_d/os_hpux.c:296 [error] - instance of "di_devreg" object destroyed immediately
- ./libdi_d/os_linux.c:219 [error] - instance of "di_devreg" object destroyed immediately
- ./libdi_d/os_sinix.c:174 [error] - instance of "di_devreg" object destroyed immediately
- ./libdi_d/os_vms.c:186 [error] - instance of "di_devreg" object destroyed immediately
- ./util_d/cddbcmd.c:477 [error] - Resource leak: ttyfp
- ./util_d/cddbcmd.c:497 [error] - Memory leak: name
- ./util_d/cddbcmd.c:1098 [error] - Memory leak: buf
- ./util_d/wm2xmcd.c:368 [error] - Undefined behaviour: tmpbuf 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.
- ./util_d/wm2xmcd.c:374 [error] - Undefined behaviour: tmpbuf 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.
- ./xmcd_d/cdfunc.c:2734 [error] - Undefined behaviour: titlestr 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.
- ./xmcd_d/cdfunc.c:4699 [error] - Undefined behaviour: txt 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.
- ./xmcd_d/cdfunc.c:4705 [error] - Undefined behaviour: txt 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.
- ./xmcd_d/cdfunc.c:4711 [error] - Undefined behaviour: txt 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.
- ./xmcd_d/cdfunc.c:4724 [error] - Undefined behaviour: txt 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.
- ./xmcd_d/cdfunc.c:4727 [error] - Undefined behaviour: txt 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.
- ./xmcd_d/dbprog.c:2148 [error] - Undefined behaviour: tmpbuf 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.
- ./xmcd_d/help.c:446 [error] - Common realloc mistake: "helptext" nulled but not freed upon failure
- ./xmcd_d/main.c:284 [error] - Common realloc mistake: "cmd" nulled but not freed upon failure
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:20:36 +0000, based on results by cppcheck 1.46