cppcheck analysis of busybox_1.17.1-9.dsc
- ./archival/unzip.c:414 [error] - Resource leak: src_fd
- ./coreutils/dos2unix.c:27 [error] - Uninitialized variable: temp_fn
- ./coreutils/dos2unix.c:28 [error] - Uninitialized variable: resolved_fn
- ./coreutils/expr.c:290 [error] - Uninitialized variable: l
- ./coreutils/expr.c:291 [error] - Uninitialized variable: v
- ./coreutils/ls.c:591 [error] - Uninitialized variable: lpath
- ./coreutils/test.c:610 [error] - Uninitialized variable: i
- ./coreutils/test.c:744 [error] - Uninitialized variable: res
- ./e2fsprogs/fsck.c:514 [error] - Uninitialized variable: inst
- ./e2fsprogs/old_e2fsprogs/blkid/blkidP.h:183 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./e2fsprogs/old_e2fsprogs/uuid/gen_uuid.c:120 [error] - Resource leak: fd
- ./editors/vi.c:2908 [error] - Uninitialized variable: msg
- ./findutils/grep.c:338 [error] - Uninitialized variable: gl
- ./libbb/find_root_device.c:39 [error] - Resource leak: dir
- ./libbb/rtc.c:71 [error] - Uninitialized variable: oldtz
- ./loginutils/chpasswd.c:26 [error] - Uninitialized variable: rnd
- ./loginutils/login.c:210 [error] - Uninitialized variable: opt_user
- ./mailutils/mail.c:121 [error] - Uninitialized variable: fp
- ./mailutils/sendmail.c:70 [error] - Uninitialized variable: opt_connect
- ./miscutils/beep.c:35 [error] - Uninitialized variable: tickrate_div_freq
- ./miscutils/beep.c:36 [error] - Uninitialized variable: length
- ./miscutils/beep.c:37 [error] - Uninitialized variable: delay
- ./miscutils/beep.c:38 [error] - Uninitialized variable: rep
- ./miscutils/chrt.c:52 [error] - Uninitialized variable: priority
- ./miscutils/conspy.c:450 [error] - Uninitialized variable: last
- ./miscutils/crond.c:901 [error] - Resource leak: mailFd
- ./miscutils/fbsplash.c:336 [error] - Uninitialized variable: fp
- ./miscutils/taskset.c:72 [error] - Uninitialized variable: aff
- ./modutils/modprobe.c:353 [error] - Uninitialized variable: m2
- ./modutils/modutils-24.c:2465 [error] - instance of "obj_string_patch" object destroyed immediately
- ./modutils/modutils-24.c:2680 [error] - instance of "obj_string_patch" object destroyed immediately
- ./modutils/modutils-24.c:2738 [error] - instance of "obj_symbol_patch" object destroyed immediately
- ./modutils/modutils-24.c:2768 [error] - instance of "obj_symbol_patch" object destroyed immediately
- ./modutils/modutils-24.c:2769 [error] - instance of "obj_string_patch" object destroyed immediately
- ./networking/httpd.c:2303 [error] - Uninitialized variable: server_socket
- ./networking/httpd.c:1809 [error] - Uninitialized variable: header_buf
- ./networking/httpd.c:1810 [error] - Uninitialized variable: header_ptr
- ./networking/ifenslave.c:523 [error] - Invalid number of character (() when these macros are defined: 'WHY_BOTHER'.
- ./networking/inetd.c:1098 [error] - Uninitialized variable: grp
- ./networking/nc.c:108 [error] - Uninitialized variable: sfd
- ./networking/nc_bloaty.c:570 [error] - Uninitialized variable: zp
- ./networking/nc_bloaty.c:571 [error] - Uninitialized variable: np
- ./networking/ntpd.c:487 [error] - Uninitialized variable: x
- ./networking/ntpd.c:488 [error] - Uninitialized variable: oldest_off
- ./networking/ntpd.c:489 [error] - Uninitialized variable: oldest_age
- ./networking/ntpd.c:490 [error] - Uninitialized variable: newest_off
- ./networking/ntpd.c:491 [error] - Uninitialized variable: newest_age
- ./networking/ntpd.c:1051 [error] - Uninitialized variable: max_idx
- ./networking/ntpd.c:1052 [error] - Uninitialized variable: max_selection_jitter
- ./networking/ntpd.c:1053 [error] - Uninitialized variable: min_jitter
- ./networking/tcpudp.c:173 [error] - Uninitialized variable: len_per_host
- ./networking/tcpudp.c:180 [error] - Uninitialized variable: remote_hostname
- ./networking/tcpudp.c:181 [error] - Uninitialized variable: remote_addr
- ./networking/telnetd.c:473 [error] - Uninitialized variable: master_fd
- ./networking/telnetd.c:474 [error] - Uninitialized variable: sec_linger
- ./networking/udhcp/dhcpc.c:979 [error] - Uninitialized variable: timestamp_before_wait
- ./networking/udhcp/domain_codec.c:33 [error] - Uninitialized variable: ret
- ./networking/zcip.c:149 [error] - Uninitialized variable: addr
- ./printutils/lpd.c:100 [error] - Uninitialized variable: spooling
- ./procps/nmeter.c:244 [error] - Uninitialized variable: rd
- ./procps/pidof.c:67 [error] - Unusual pointer arithmetic
- ./procps/ps.c:86 [error] - Uninitialized variable: cnt
- ./procps/sysctl.c:75 [error] - Uninitialized variable: value
- ./runit/chpst.c:176 [error] - Uninitialized variable: set_user
- ./runit/chpst.c:177 [error] - Uninitialized variable: env_user
- ./runit/chpst.c:178 [error] - Uninitialized variable: env_dir
- ./scripts/basic/fixdep.c:156 [error] - Common realloc mistake: "str_config" nulled but not freed upon failure
- ./scripts/basic/split-include.c:227 [error] - Memory leak: line
- ./scripts/kconfig/confdata.c:79 [error] - Common realloc mistake: "fullname" nulled but not freed upon failure
- ./shell/hush.c:4413 [error] - Allocation with open, if doesn't release it.
- ./sysklogd/logread.c:107 [error] - Uninitialized variable: len_total
- ./sysklogd/logread.c:108 [error] - Uninitialized variable: copy
- ./util-linux/fbset.c:382 [error] - Uninitialized variable: mode
- ./util-linux/flock.c:87 [error] - Resource leak: fd
- ./util-linux/fsck_minix.c:389 [error] - Resource leak: fd
- ./util-linux/mdev.c:174 [error] - Uninitialized variable: aliaslink
- ./util-linux/more.c:49 [error] - Uninitialized variable: c
- ./util-linux/volume_id/get_devname.c:86 [error] - Uninitialized variable: uuid
- ./util-linux/volume_id/get_devname.c:87 [error] - Uninitialized variable: label
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, 14 Feb 2011 06:58:02 +0000, based on results by cppcheck 1.46