cppcheck analysis of xmcd_2.6-22.dsc
- ./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:779 [error] - Deallocating a deallocated pointer: fp
- ./cddb_d/hist.c:372 [error] - Resource leak: fp
- ./common_d/util.c:1831 [error] - Resource leak: fp1
- ./common_d/util.c:1831 [error] - Resource leak: fp2
- ./libdi_d/libdi.c:1611 [error] - Resource leak: fp
- ./libdi_d/libdi.c:2185 [error] - Resource leak: fp
- ./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/command.c:2147 [error] - Deallocating a deallocated pointer: fp
- ./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/wwwwarp.c:358 [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.
- ./xmcd_d/wwwwarp.c:361 [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.
- ./xmcd_d/wwwwarp.c:372 [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.
- ./xmcd_d/wwwwarp.c:375 [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.
- ./xmcd_d/wwwwarp.c:384 [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.
- ./xmcd_d/wwwwarp.c:396 [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.
- ./xmcd_d/wwwwarp.c:400 [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.
- ./xmcd_d/wwwwarp.c:409 [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.
- ./xmcd_d/wwwwarp.c:411 [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.
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:04:00 +0000, based on results by cppcheck 1.41-modif