cppcheck analysis of libcdio_0.81-4.dsc
- ./example/C++/OO/cdtext.cpp:95 [possible error] - Memory leak: device
- ./example/udffile.c:150 [possible error] - Resource leak: p_outfd
- ./lib/cdda_interface/scan_devices.c:339 [possible error] - Memory leak: description
- ./lib/cdda_interface/utils.c:100 [possible error] - Memory leak: buffer
- ./lib/cdda_interface/utils.c:138 [possible error] - Memory leak: buffer
- ./lib/driver/FreeBSD/freebsd.c:736 [error] - Resource leak: fd
- ./lib/driver/MSWindows/win32_ioctl.c:39 [error] - Invalid number of character (() when these macros are defined: 'HAVE_WIN32_CDROM;_XBOX'.
- ./lib/driver/aix.c:870 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_AIX_CDROM'.
- ./lib/driver/aix.c:870 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_AIX_CDROM;AIX_DISABLE_ASYNC'.
- ./lib/driver/aix.c:870 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_AIX_CDROM;FINISHED'.
- ./lib/driver/aix.c:870 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_AIX_CDROM;FIXED'.
- ./lib/driver/bsdi.c:743 [possible error] - Resource leak: fd
- ./lib/driver/device.c:396 [error] - Memory leak: psz_drive
- ./lib/driver/image/bincue.c:247 [error] - Invalid number of character ({) when these macros are defined: 'FIXED_ME'.
- ./lib/driver/mmc.c:972 [error] - Invalid number of character ({) when these macros are defined: 'IS_THIS_CORRECT'.
- ./lib/driver/netbsd.c:359 [error] - Resource leak: fd
- ./lib/driver/solaris.c:986 [possible error] - Resource leak: fd
- ./lib/iso9660/iso9660_fs.c:199 [possible error] - Memory leak: p_iso
- ./lib/iso9660/iso9660_fs.c:803 [error] - Memory leak: p_stat
- ./src/cd-info.c:562 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/cd-info.c:533 [possible error] - Memory leak: translated_name
- ./src/cd-read.c:604 [possible error] - Resource leak: output_fd
- ./src/iso-info.c:243 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./src/iso-info.c:213 [possible error] - Memory leak: translated_name
- ./src/iso-read.c:267 [possible error] - Resource leak: outfd
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 05:50:15 +0000, based on results by cppcheck 1.41-modif