cppcheck analysis of busybox_1.15.3-1.dsc
- ./archival/unzip.c:361 [error] - Resource leak: src_fd
- ./console-tools/loadfont.c:149 [error] - Uninitialized variable: head
- ./coreutils/cal.c:301 [possible error] - Array index out of bounds
- ./coreutils/dos2unix.c:51 [possible error] - Resource leak: i
- ./coreutils/dos2unix.c:27 [error] - Uninitialized variable: temp_fn
- ./coreutils/ls.c:736 [error] - Uninitialized variable: lpath
- ./coreutils/test.c:590 [error] - Uninitialized variable: i
- ./coreutils/test.c:724 [error] - Uninitialized variable: res
- ./e2fsprogs/old_e2fsprogs/blkid/blkid_getsize.c:177 [error] - Resource leak: fd
- ./e2fsprogs/old_e2fsprogs/blkid/blkidP.h:183 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./e2fsprogs/old_e2fsprogs/fsck.c:604 [error] - Memory leak: inst
- ./libbb/find_root_device.c:39 [error] - Resource leak: dir
- ./libbb/getpty.c:64 [possible error] - Resource leak: p
- ./loginutils/chpasswd.c:26 [error] - Uninitialized variable: rnd
- ./loginutils/login.c:285 [error] - Uninitialized variable: opt_host
- ./mailutils/mail.c:124 [error] - Uninitialized variable: fp
- ./mailutils/sendmail.c:64 [error] - Uninitialized variable: opt_connect
- ./miscutils/chrt.c:50 [error] - Uninitialized variable: priority
- ./miscutils/crond.c:887 [possible error] - Resource leak: mailFd
- ./miscutils/fbsplash.c:331 [error] - Uninitialized variable: fp
- ./miscutils/taskset.c:72 [error] - Uninitialized variable: aff
- ./networking/dnsd.c:153 [possible error] - Array 'name[1]' index 1 out of bounds
- ./networking/dnsd.c:173 [possible error] - Array 'name[1]' index 1 out of bounds
- ./networking/httpd.c:2286 [error] - Uninitialized variable: server_socket
- ./networking/httpd.c:1791 [error] - Uninitialized variable: header_buf
- ./networking/ifenslave.c:521 [error] - Invalid number of character (() when these macros are defined: 'WHY_BOTHER'.
- ./networking/nc.c:29 [error] - Uninitialized variable: sfd
- ./networking/nc_bloaty.c:357 [error] - Uninitialized variable: rr
- ./networking/nc_bloaty.c:519 [error] - Uninitialized variable: zp
- ./networking/tcpudp.c:171 [error] - Uninitialized variable: len_per_host
- ./networking/telnetd.c:441 [error] - Uninitialized variable: master_fd
- ./networking/udhcp/domain_codec.c:28 [error] - Uninitialized variable: ret
- ./networking/zcip.c:149 [error] - Uninitialized variable: addr
- ./printutils/lpd.c:100 [error] - Uninitialized variable: spooling
- ./procps/pidof.c:67 [error] - Unusual pointer arithmetic
- ./procps/ps.c:86 [error] - Uninitialized variable: cnt
- ./procps/sysctl.c:76 [error] - Uninitialized variable: value
- ./runit/chpst.c:177 [error] - Uninitialized variable: set_user
- ./scripts/basic/split-include.c:226 [error] - Memory leak: line
- ./scripts/basic/split-include.c:226 [error] - Memory leak: old_line
- ./scripts/kconfig/qconf.h:45 [possible error] - Memory leak: ConfigView::list
- ./scripts/kconfig/qconf.h:46 [possible error] - Memory leak: ConfigView::lineEdit
- ./scripts/kconfig/qconf.h:252 [possible error] - Memory leak: ConfigMainWindow::menuView
- ./scripts/kconfig/qconf.h:254 [possible error] - Memory leak: ConfigMainWindow::configView
- ./scripts/kconfig/qconf.h:256 [possible error] - Memory leak: ConfigMainWindow::helpText
- ./scripts/kconfig/qconf.h:257 [possible error] - Memory leak: ConfigMainWindow::toolBar
- ./scripts/kconfig/qconf.h:258 [possible error] - Memory leak: ConfigMainWindow::backAction
- ./scripts/kconfig/qconf.h:259 [possible error] - Memory leak: ConfigMainWindow::split1
- ./scripts/kconfig/qconf.h:260 [possible error] - Memory leak: ConfigMainWindow::split2
- ./shell/msh_unused.c:5044 [possible error] - Resource leak: hf
- ./util-linux/fsck_minix.c:388 [error] - Resource leak: fd
- ./util-linux/mkfs_vfat.c:465 [error] - Buffer access out-of-bounds: boot_blk.boot_jump
- ./util-linux/more.c:49 [error] - Uninitialized variable: c
- ./util-linux/volume_id/get_devname.c:111 [possible error] - Resource leak: fd
- ./util-linux/volume_id/get_devname.c:86 [error] - Uninitialized variable: uuid
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:46:26 +0000, based on results by cppcheck 1.41-modif