cppcheck analysis of linux-2.6_2.6.32-30.dsc
- ./Documentation/accounting/getdelays.c:506 [error] - Memory leak: logfile
- ./Documentation/connector/ucon.c:250 [error] - Resource leak: out
- ./Documentation/ia64/aliasing-test.c:136 [error] - Resource leak: fd
- ./Documentation/video4linux/v4lgrab.c:163 [error] - Resource leak: fd
- ./arch/alpha/boot/tools/objstrip.c:279 [error] - Resource leak: fd
- ./arch/alpha/boot/tools/objstrip.c:279 [error] - Resource leak: ofd
- ./arch/arm/common/dmabounce.c:275 [error] - Memory leak: buf
- ./arch/arm/kernel/setup.c:286 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:305 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:306 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:307 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:381 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:298 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:289 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/setup.c:292 [error] - Possible null pointer dereference: list
- ./arch/arm/kernel/signal.c:121 [error] - Uninitialized variable: kbuf
- ./arch/arm/kernel/signal.c:134 [error] - Uninitialized variable: kbuf
- ./arch/arm/kernel/signal.c:153 [error] - Uninitialized variable: kbuf
- ./arch/arm/kernel/signal.c:166 [error] - Uninitialized variable: kbuf
- ./arch/arm/kernel/traps.c:681 [error] - Null pointer dereference
- ./arch/arm/mach-bcmring/csp/tmr/tmrHw.c:388 [error] - Null pointer dereference
- ./arch/arm/mach-omap1/pm.c:257 [error] - Array 'mpui730_sleep_save[0]' index 7 out of bounds
- ./arch/arm/mach-omap1/pm.c:258 [error] - Array 'mpui730_sleep_save[0]' index 8 out of bounds
- ./arch/arm/mach-omap1/pm.c:259 [error] - Array 'mpui730_sleep_save[0]' index 9 out of bounds
- ./arch/arm/mach-omap1/pm.c:260 [error] - Array 'mpui730_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:261 [error] - Array 'mpui730_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:262 [error] - Array 'mpui730_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:263 [error] - Array 'mpui730_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:264 [error] - Array 'mpui730_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:387 [error] - Array 'mpui730_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:388 [error] - Array 'mpui730_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:389 [error] - Array 'mpui730_sleep_save[0]' index 7 out of bounds
- ./arch/arm/mach-omap1/pm.c:390 [error] - Array 'mpui730_sleep_save[0]' index 8 out of bounds
- ./arch/arm/mach-omap1/pm.c:391 [error] - Array 'mpui730_sleep_save[0]' index 9 out of bounds
- ./arch/arm/mach-omap1/pm.c:267 [error] - Array 'mpui1510_sleep_save[0]' index 7 out of bounds
- ./arch/arm/mach-omap1/pm.c:268 [error] - Array 'mpui1510_sleep_save[0]' index 8 out of bounds
- ./arch/arm/mach-omap1/pm.c:269 [error] - Array 'mpui1510_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:270 [error] - Array 'mpui1510_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:271 [error] - Array 'mpui1510_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:272 [error] - Array 'mpui1510_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:273 [error] - Array 'mpui1510_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:393 [error] - Array 'mpui1510_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:394 [error] - Array 'mpui1510_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:395 [error] - Array 'mpui1510_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:396 [error] - Array 'mpui1510_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:397 [error] - Array 'mpui1510_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:398 [error] - Array 'mpui1510_sleep_save[0]' index 7 out of bounds
- ./arch/arm/mach-omap1/pm.c:399 [error] - Array 'mpui1510_sleep_save[0]' index 8 out of bounds
- ./arch/arm/mach-omap1/pm.c:275 [error] - Array 'mpui1610_sleep_save[0]' index 7 out of bounds
- ./arch/arm/mach-omap1/pm.c:276 [error] - Array 'mpui1610_sleep_save[0]' index 8 out of bounds
- ./arch/arm/mach-omap1/pm.c:277 [error] - Array 'mpui1610_sleep_save[0]' index 9 out of bounds
- ./arch/arm/mach-omap1/pm.c:278 [error] - Array 'mpui1610_sleep_save[0]' index 10 out of bounds
- ./arch/arm/mach-omap1/pm.c:279 [error] - Array 'mpui1610_sleep_save[0]' index 11 out of bounds
- ./arch/arm/mach-omap1/pm.c:280 [error] - Array 'mpui1610_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:281 [error] - Array 'mpui1610_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:282 [error] - Array 'mpui1610_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:283 [error] - Array 'mpui1610_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:284 [error] - Array 'mpui1610_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:401 [error] - Array 'mpui1610_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:402 [error] - Array 'mpui1610_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:403 [error] - Array 'mpui1610_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:404 [error] - Array 'mpui1610_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:405 [error] - Array 'mpui1610_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:407 [error] - Array 'mpui1610_sleep_save[0]' index 7 out of bounds
- ./arch/arm/mach-omap1/pm.c:408 [error] - Array 'mpui1610_sleep_save[0]' index 8 out of bounds
- ./arch/arm/mach-omap1/pm.c:409 [error] - Array 'mpui1610_sleep_save[0]' index 9 out of bounds
- ./arch/arm/mach-omap1/pm.c:410 [error] - Array 'mpui1610_sleep_save[0]' index 10 out of bounds
- ./arch/arm/mach-omap1/pm.c:411 [error] - Array 'mpui1610_sleep_save[0]' index 11 out of bounds
- ./arch/arm/mach-omap1/pm.c:465 [error] - Array 'mpui730_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:466 [error] - Array 'mpui730_sleep_save[0]' index 4 out of bounds
- ./arch/arm/mach-omap1/pm.c:467 [error] - Array 'mpui730_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:468 [error] - Array 'mpui730_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:469 [error] - Array 'mpui730_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:470 [error] - Array 'mpui730_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:528 [error] - Array 'mpui730_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:529 [error] - Array 'mpui730_sleep_save[0]' index 4 out of bounds
- ./arch/arm/mach-omap1/pm.c:530 [error] - Array 'mpui730_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:531 [error] - Array 'mpui730_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:532 [error] - Array 'mpui730_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:533 [error] - Array 'mpui730_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:472 [error] - Array 'mpui1510_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:473 [error] - Array 'mpui1510_sleep_save[0]' index 4 out of bounds
- ./arch/arm/mach-omap1/pm.c:474 [error] - Array 'mpui1510_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:475 [error] - Array 'mpui1510_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:476 [error] - Array 'mpui1510_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:477 [error] - Array 'mpui1510_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:542 [error] - Array 'mpui1510_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:543 [error] - Array 'mpui1510_sleep_save[0]' index 4 out of bounds
- ./arch/arm/mach-omap1/pm.c:544 [error] - Array 'mpui1510_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:545 [error] - Array 'mpui1510_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:546 [error] - Array 'mpui1510_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:547 [error] - Array 'mpui1510_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:479 [error] - Array 'mpui1610_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:480 [error] - Array 'mpui1610_sleep_save[0]' index 4 out of bounds
- ./arch/arm/mach-omap1/pm.c:481 [error] - Array 'mpui1610_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:482 [error] - Array 'mpui1610_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:483 [error] - Array 'mpui1610_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:484 [error] - Array 'mpui1610_sleep_save[0]' index 6 out of bounds
- ./arch/arm/mach-omap1/pm.c:556 [error] - Array 'mpui1610_sleep_save[0]' index 1 out of bounds
- ./arch/arm/mach-omap1/pm.c:557 [error] - Array 'mpui1610_sleep_save[0]' index 4 out of bounds
- ./arch/arm/mach-omap1/pm.c:558 [error] - Array 'mpui1610_sleep_save[0]' index 2 out of bounds
- ./arch/arm/mach-omap1/pm.c:559 [error] - Array 'mpui1610_sleep_save[0]' index 3 out of bounds
- ./arch/arm/mach-omap1/pm.c:560 [error] - Array 'mpui1610_sleep_save[0]' index 5 out of bounds
- ./arch/arm/mach-omap1/pm.c:561 [error] - Array 'mpui1610_sleep_save[0]' index 6 out of bounds
- ./arch/avr32/boards/atngw100/mrmt.c:154 [error] - Invalid number of character ({) when these macros are defined: 'CONFIG_BOARD_MRMT_UCB1400_TS'.
- ./arch/blackfin/mach-bf548/dma.c:65 [style] - Redundant assignment of "ret_irq" in switch
- ./arch/cris/arch-v32/drivers/cryptocop.c:1850 [error] - Memory leak: pj
- ./arch/h8300/kernel/irq.c:91 [error] - Possible null pointer dereference: rom_vector
- ./arch/h8300/kernel/ptrace.c:147 [style] - Redundant assignment of "ret" in switch
- ./arch/ia64/hp/common/sba_iommu.c:2064 [error] - Memory leak: ioc
- ./arch/ia64/ia32/sys_ia32.c:1289 [error] - Uninitialized variable: buf
- ./arch/ia64/sn/pci/tioce_provider.c:1040 [error] - Memory leak: tioce_kern
- ./arch/m68k/atari/stram.c:210 [error] - Memory leak: block
- ./arch/m68k/mm/kmap.c:224 [error] - Memory leak: area
- ./arch/microblaze/mm/pgtable.c:188 [error] - Uninitialized variable: a
- ./arch/mips/boot/addinitrd.c:130 [error] - Resource leak: fd_outfile
- ./arch/mips/cavium-octeon/executive/cvmx-l2c.c:254 [error] - Uninitialized variable: dummy
- ./arch/mips/mti-malta/malta-pci.c:163 [style] - Redundant assignment of "map" in switch
- ./arch/mn10300/kernel/gdb-stub.c:514 [error] - instance of "gdbstub_bkpt" object destroyed immediately
- ./arch/mn10300/kernel/gdb-stub.c:703 [error] - instance of "gdbstub_bkpt" object destroyed immediately
- ./arch/mn10300/kernel/gdb-stub.c:1093 [error] - instance of "gdbstub_bkpt" object destroyed immediately
- ./arch/mn10300/kernel/gdb-stub.c:1122 [error] - instance of "gdbstub_bkpt" object destroyed immediately
- ./arch/mn10300/kernel/gdb-stub.c:1155 [error] - instance of "gdbstub_bkpt" object destroyed immediately
- ./arch/parisc/kernel/signal.c:589 [error] - Uninitialized variable: oldset
- ./arch/powerpc/boot/ps3.c:156 [error] - Null pointer dereference
- ./arch/powerpc/kernel/cacheinfo.c:379 [error] - Possible null pointer dereference: cache - otherwise it is redundant to check if cache is null at line 381
- ./arch/powerpc/kernel/ppc970-pmu.c:175 [style] - Redundant assignment of "mask" in switch
- ./arch/powerpc/platforms/powermac/low_i2c.c:1274 [error] - Possible null pointer dereference: inst - otherwise it is redundant to check if inst is null at line 1275
- ./arch/s390/kernel/early.c:135 [error] - Undefined behaviour: defsys_cmd 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.
- ./arch/s390/kernel/early.c:141 [error] - Undefined behaviour: defsys_cmd 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.
- ./arch/sh/mm/init.c:56 [error] - Possible null pointer dereference: pud
- ./arch/sh/mm/init.c:62 [error] - Possible null pointer dereference: pmd
- ./arch/sparc/kernel/pcic.c:357 [error] - Array 't_nmi[1]' index 1 out of bounds
- ./arch/sparc/kernel/pcic.c:358 [error] - Array 't_nmi[1]' index 2 out of bounds
- ./arch/sparc/kernel/pcic.c:359 [error] - Array 't_nmi[1]' index 3 out of bounds
- ./arch/sparc/kernel/pcic.c:357 [error] - Array 'pcic_nmi_trap_patch[1]' index 1 out of bounds
- ./arch/sparc/kernel/pcic.c:358 [error] - Array 'pcic_nmi_trap_patch[1]' index 2 out of bounds
- ./arch/sparc/kernel/pcic.c:359 [error] - Array 'pcic_nmi_trap_patch[1]' index 3 out of bounds
- ./arch/sparc/kernel/sbus.c:658 [error] - Memory leak: iommu
- ./arch/um/drivers/line.c:21 [error] - Possible null pointer dereference: line - otherwise it is redundant to check if line is null at line 23
- ./arch/um/drivers/xterm.c:126 [error] - Resource leak: fd
- ./arch/um/os-Linux/mem.c:178 [error] - Memory leak: tempname
- ./arch/um/os-Linux/mem.c:202 [error] - Resource leak: fd
- ./arch/x86/boot/compressed/relocs.c:650 [error] - Resource leak: fp
- ./arch/x86/kernel/kgdb.c:213 [error] - Uninitialized variable: dr7
- ./arch/x86/kernel/kgdb.c:403 [error] - Uninitialized variable: dr6
- ./arch/x86/kernel/ptrace.c:819 [error] - Memory leak: context
- ./arch/x86/kernel/traps.c:535 [error] - Uninitialized variable: condition
- ./crypto/vmac.c:497 [error] - Array 'in[2]' index 15 out of bounds
- ./crypto/vmac.c:512 [error] - Array 'in[2]' index 15 out of bounds
- ./crypto/vmac.c:524 [error] - Array 'in[2]' index 15 out of bounds
- ./drivers/acpi/scan.c:1015 [error] - Memory leak: id.id
- ./drivers/atm/fore200e.c:2809 [error] - Uninitialized variable: err
- ./drivers/atm/lanai.c:1406 [error] - Array index -2 is out of bounds
- ./drivers/block/virtio_blk.c:264 [error] - Possible null pointer dereference: vblk - otherwise it is redundant to check if vblk is null at line 265
- ./drivers/cdrom/cdrom.c:482 [error] - Array 'buffer[8]' index 100 out of bounds
- ./drivers/char/hvsi.c:668 [error] - instance of "hvsi_query" object destroyed immediately
- ./drivers/char/ip2/i2cmd.c:207 [error] - Array 'cmd[2]' index 2 out of bounds
- ./drivers/char/pcmcia/cm4000_cs.c:1631 [style] - Redundant assignment of "old_pc_debug" in switch
- ./drivers/char/pcmcia/synclink_cs.c:1116 [error] - Possible null pointer dereference: tty - otherwise it is redundant to check if tty is null at line 1120
- ./drivers/char/sysrq.c:130 [error] - Null pointer dereference
- ./drivers/char/vt_ioctl.c:160 [error] - instance of "vt_event_wait" object destroyed immediately
- ./drivers/char/vt_ioctl.c:186 [error] - instance of "vt_event_wait" object destroyed immediately
- ./drivers/cpufreq/cpufreq.c:702 [error] - Possible null pointer dereference: policy - otherwise it is redundant to check if policy is null at line 703
- ./drivers/cpufreq/cpufreq.c:727 [error] - Possible null pointer dereference: policy - otherwise it is redundant to check if policy is null at line 728
- ./drivers/cpuidle/governors/ladder.c:69 [error] - Possible null pointer dereference: ldev - otherwise it is redundant to check if ldev is null at line 72
- ./drivers/dma/ioat/dma_v2.c:125 [error] - Possible null pointer dereference: desc - otherwise it is redundant to check if desc is null at line 126
- ./drivers/dma/ioat/dma_v2.c:702 [error] - Possible null pointer dereference: desc - otherwise it is redundant to check if desc is null at line 712
- ./drivers/dma/ioat/dma_v3.c:458 [error] - Possible null pointer dereference: desc - otherwise it is redundant to check if desc is null at line 468
- ./drivers/dma/ioat/dma_v3.c:565 [error] - Possible null pointer dereference: compl_desc - otherwise it is redundant to check if compl_desc is null at line 571
- ./drivers/dma/ioat/dma_v3.c:724 [error] - Possible null pointer dereference: compl_desc - otherwise it is redundant to check if compl_desc is null at line 730
- ./drivers/dma/ioat/dma_v3.c:838 [error] - Possible null pointer dereference: desc - otherwise it is redundant to check if desc is null at line 851
- ./drivers/dma/iop-adma.c:1367 [error] - Buffer access out-of-bounds: pq_src
- ./drivers/dma/iop-adma.c:1399 [error] - Buffer access out-of-bounds: pq_src
- ./drivers/gpu/drm/i915/intel_dp_i2c.c:86 [error] - Uninitialized variable: reply
- ./drivers/gpu/drm/radeon/mkregtable.c:665 [error] - Resource leak: file
- ./drivers/gpu/drm/ttm/ttm_memory.c:326 [error] - Memory leak: zone
- ./drivers/gpu/drm/ttm/ttm_memory.c:285 [error] - Memory leak: zone
- ./drivers/hwmon/w83627hf.c:1726 [error] - Buffer access out-of-bounds: regpwm_627hf
- ./drivers/ide/cy82c693.c:213 [error] - Possible null pointer dereference: dev - otherwise it is redundant to check if dev is null at line 214
- ./drivers/ieee1394/dv1394.c:2308 [error] - instance of "dv1394_init" object destroyed immediately
- ./drivers/ieee1394/dv1394.c:2309 [error] - instance of "dv1394_init" object destroyed immediately
- ./drivers/ieee1394/dv1394.c:2310 [error] - instance of "dv1394_init" object destroyed immediately
- ./drivers/ieee1394/dv1394.c:2311 [error] - instance of "dv1394_init" object destroyed immediately
- ./drivers/infiniband/hw/nes/nes_cm.c:2273 [error] - Deallocating a deallocated pointer: cm_node
- ./drivers/isdn/gigaset/ev-layer.c:541 [error] - Array index -1 is out of bounds
- ./drivers/isdn/hardware/eicon/message.c:4987 [error] - Array 'esc_law[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5134 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5143 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5153 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5155 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5157 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5169 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5171 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5177 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5198 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5200 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5206 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5259 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5265 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5267 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5291 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5324 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5326 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5344 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5353 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5388 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5394 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5408 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5422 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5429 [error] - Array 'pty_cai[1]' index 3 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5434 [error] - Array 'pty_cai[1]' index 3 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5439 [error] - Array 'pty_cai[1]' index 3 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5444 [error] - Array 'pty_cai[1]' index 3 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5449 [error] - Array 'pty_cai[1]' index 3 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5460 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5479 [error] - Array 'pty_cai[1]' index 2 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5480 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5532 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5538 [error] - Array 'pty_cai[1]' index 6 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5563 [error] - Array 'pty_cai[1]' index 6 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5572 [error] - Array 'pty_cai[1]' index 6 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5584 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:5600 [error] - Array 'pty_cai[1]' index 6 out of bounds
- ./drivers/isdn/hardware/eicon/message.c:1927 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:1928 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:1929 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:1966 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:1967 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:2335 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:2336 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:2337 [error] - Uninitialized variable: rplci
- ./drivers/isdn/hardware/eicon/message.c:14630 [error] - Uninitialized variable: a
- ./drivers/isdn/hardware/eicon/message.c:5132 [error] - Array 'pty_cai[1]' index 5 out of bounds
- ./drivers/isdn/hysdn/hysdn_net.c:190 [error] - Possible null pointer dereference: lp - otherwise it is redundant to check if lp is null at line 193
- ./drivers/isdn/icn/icn.c:656 [error] - Buffer access out-of-bounds: vstr
- ./drivers/isdn/icn/icn.c:1578 [error] - Memory leak: card
- ./drivers/isdn/isdnloop/isdnloop.c:1490 [error] - Memory leak: card
- ./drivers/isdn/mISDN/dsp_cmx.c:1616 [error] - Invalid number of character ({) when these macros are defined: 'DSP_NEVER_DEFINED'.
- ./drivers/isdn/mISDN/dsp_core.c:377 [error] - instance of "dsp_tone" object destroyed immediately
- ./drivers/leds/leds-gpio.c:318 [error] - Uninitialized variable: ret
- ./drivers/leds/leds-wm831x-status.c:228 [error] - Uninitialized variable: chip_pdata
- ./drivers/lguest/lguest_device.c:445 [error] - Memory leak: ldev
- ./drivers/lguest/lguest_user.c:101 [error] - Possible null pointer dereference: new - otherwise it is redundant to check if new is null at line 103
- ./drivers/macintosh/windfarm_pm121.c:574 [error] - Possible null pointer dereference: control - otherwise it is redundant to check if control is null at line 576
- ./drivers/md/dm-exception-store.c:219 [error] - Memory leak: tmp_store
- ./drivers/media/dvb/dvb-usb/dibusb-mb.c:92 [error] - Uninitialized variable: b2
- ./drivers/media/dvb/firewire/firedtv-1394.c:57 [error] - Possible null pointer dereference: fdtv
- ./drivers/media/dvb/frontends/dib7000p.c:1280 [error] - Uninitialized variable: rx
- ./drivers/media/dvb/frontends/stb0899_drv.c:611 [error] - instance of "stb0899_postproc" object destroyed immediately
- ./drivers/media/dvb/frontends/stb0899_drv.c:864 [error] - instance of "stb0899_postproc" object destroyed immediately
- ./drivers/media/dvb/frontends/stb0899_drv.c:883 [error] - instance of "stb0899_postproc" object destroyed immediately
- ./drivers/media/dvb/frontends/stb0899_drv.c:1080 [error] - instance of "stb0899_postproc" object destroyed immediately
- ./drivers/media/dvb/frontends/stb0899_drv.c:1111 [error] - instance of "stb0899_postproc" object destroyed immediately
- ./drivers/media/dvb/frontends/stv0900_core.c:1504 [error] - Memory leak: temp_int
- ./drivers/media/dvb/pluto2/pluto2.c:483 [error] - Array 'buf[4]' index 4 out of bounds
- ./drivers/media/dvb/pluto2/pluto2.c:484 [error] - Array 'buf[4]' index 4 out of bounds
- ./drivers/media/dvb/pluto2/pluto2.c:485 [error] - Array 'buf[4]' index 4 out of bounds
- ./drivers/media/dvb/pluto2/pluto2.c:487 [error] - Array 'buf[4]' index 5 out of bounds
- ./drivers/media/dvb/pt1/va1j5jf8007s.c:570 [error] - Uninitialized variable: read_buf
- ./drivers/media/dvb/siano/smsir.c:175 [error] - Uninitialized variable: j
- ./drivers/media/video/cx18/cx18-driver.c:878 [error] - instance of "cx18_gpio_init" object destroyed immediately
- ./drivers/media/video/cx231xx/cx231xx-audio.c:294 [error] - Possible null pointer dereference: dev
- ./drivers/media/video/hdpvr/hdpvr-core.c:195 [error] - Memory leak: print_buf
- ./drivers/media/video/hdpvr/hdpvr-video.c:166 [error] - Memory leak: buf
- ./drivers/media/video/ir-kbd-i2c.c:235 [error] - Uninitialized variable: key
- ./drivers/media/video/msp3400-driver.c:167 [error] - Uninitialized variable: read
- ./drivers/media/video/mx1_camera.c:444 [error] - Uninitialized variable: ret
- ./drivers/media/video/vivi.c:1163 [error] - Memory leak: fh
- ./drivers/message/fusion/mptbase.c:580 [error] - Possible null pointer dereference: reply - otherwise it is redundant to check if reply is null at line 593
- ./drivers/message/fusion/mptsas.c:4299 [error] - Possible null pointer dereference: vdevice
- ./drivers/message/fusion/mptsas.c:4313 [error] - Possible null pointer dereference: vdevice
- ./drivers/message/fusion/mptsas.c:4322 [error] - Possible null pointer dereference: vdevice
- ./drivers/message/i2o/i2o_scsi.c:531 [error] - Possible null pointer dereference: i2o_dev - otherwise it is redundant to check if i2o_dev is null at line 535
- ./drivers/misc/atmel_tclib.c:62 [error] - Possible null pointer dereference: r - otherwise it is redundant to check if r is null at line 63
- ./drivers/misc/lkdtm.c:258 [error] - Null pointer dereference
- ./drivers/misc/sgi-xp/xpc_partition.c:420 [error] - Memory leak: remote_rp_base
- ./drivers/misc/sgi-xp/xpc_partition.c:71 [error] - Uninitialized variable: buf
- ./drivers/misc/sgi-xp/xpc_sn2.c:2172 [error] - Uninitialized variable: msg
- ./drivers/misc/sgi-xp/xpc_sn2.c:2173 [error] - Uninitialized variable: notify
- ./drivers/mmc/host/imxmmc.c:951 [error] - Possible null pointer dereference: r - otherwise it is redundant to check if r is null at line 952
- ./drivers/mmc/host/mvsdio.c:717 [error] - Possible null pointer dereference: r - otherwise it is redundant to check if r is null at line 718
- ./drivers/mmc/host/mxcmmc.c:692 [error] - Possible null pointer dereference: r - otherwise it is redundant to check if r is null at line 693
- ./drivers/mmc/host/omap_hsmmc.c:1854 [error] - Possible null pointer dereference: host - otherwise it is redundant to check if host is null at line 1856
- ./drivers/mmc/host/pxamci.c:559 [error] - Possible null pointer dereference: r - otherwise it is redundant to check if r is null at line 560
- ./drivers/mtd/maps/ceiva.c:269 [error] - Uninitialized variable: nr
- ./drivers/mtd/nand/mxc_nand.c:1075 [error] - Possible null pointer dereference: mtd - otherwise it is redundant to check if mtd is null at line 1080
- ./drivers/mtd/nand/mxc_nand.c:1092 [error] - Possible null pointer dereference: mtd - otherwise it is redundant to check if mtd is null at line 1098
- ./drivers/mtd/nand/nandsim.c:979 [error] - Array 'decile_max[10]' index -1 out of bounds
- ./drivers/mtd/ubi/build.c:323 [error] - Possible null pointer dereference: ubi - otherwise it is redundant to check if ubi is null at line 324
- ./drivers/net/3c507.c:557 [error] - Possible null pointer dereference: dev
- ./drivers/net/atlx/atl2.c:1964 [error] - Memory leak: eeprom_buff
- ./drivers/net/can/usb/ems_usb.c:1020 [error] - Possible null pointer dereference: netdev
- ./drivers/net/cassini.c:2498 [error] - Uninitialized variable: ring
- ./drivers/net/cris/eth_v10.c:356 [error] - Array 'TxDescList[16]' index 16 out of bounds
- ./drivers/net/hamradio/yam.c:1155 [error] - Possible null pointer dereference: dev
- ./drivers/net/lp486e.c:887 [error] - Data is allocated but not initialized: tx_cmd
- ./drivers/net/pcmcia/nmclan_cs.c:1438 [error] - Invalid number of character ({) when these macros are defined: 'BROKEN_MULTICAST;PCMCIA_DEBUG'.
- ./drivers/net/phy/mdio-gpio.c:220 [error] - Memory leak: pdata
- ./drivers/net/sunlance.c:1031 [error] - Uninitialized variable: p32
- ./drivers/net/sunlance.c:1047 [error] - Uninitialized variable: p8
- ./drivers/net/tokenring/proteon.c:168 [error] - Buffer access out-of-bounds: cardname
- ./drivers/net/vmxnet3/vmxnet3_drv.c:1333 [error] - instance of "vmxnet3_intr" object destroyed immediately
- ./drivers/net/wireless/ath/ath5k/desc.c:108 [style] - Redundant assignment of "frame_type" in switch
- ./drivers/net/wireless/ath/ath9k/eeprom_9287.c:689 [error] - Possible null pointer dereference: pCtlMode
- ./drivers/net/wireless/ath/ath9k/eeprom_9287.c:690 [error] - Possible null pointer dereference: pCtlMode
- ./drivers/net/wireless/ath/ath9k/main.c:945 [error] - instance of "ath_beacon_config" object destroyed immediately
- ./drivers/net/wireless/ath/ath9k/main.c:1157 [error] - instance of "ath_beacon_config" object destroyed immediately
- ./drivers/net/wireless/ath/ath9k/main.c:1682 [error] - instance of "ath_beacon_config" object destroyed immediately
- ./drivers/net/wireless/ath/ath9k/main.c:2613 [error] - instance of "ath_beacon_config" object destroyed immediately
- ./drivers/net/wireless/ath/ath9k/main.c:2774 [error] - instance of "ath_beacon_config" object destroyed immediately
- ./drivers/net/wireless/ath/ath9k/recv.c:544 [error] - instance of "ath_beacon_config" object destroyed immediately
- ./drivers/net/wireless/b43/phy_lp.c:1341 [error] - Possible null pointer dereference: saved_tab - otherwise it is redundant to check if saved_tab is null at line 1342
- ./drivers/net/wireless/hostap/hostap_ap.c:3154 [error] - Memory leak: sta
- ./drivers/net/wireless/ipw2x00/ipw2100.c:7608 [error] - instance of "ipw2100_wpa_assoc_frame" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:7698 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:8475 [error] - instance of "ipw_rx_notification" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:8683 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:8723 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9014 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9034 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9077 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9102 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9320 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9783 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9853 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:9964 [error] - instance of "ipw_associate" object destroyed immediately
- ./drivers/net/wireless/ipw2x00/ipw2200.c:6965 [error] - Uninitialized variable: qos_parameters
- ./drivers/net/wireless/iwlwifi/iwl3945-base.c:1905 [error] - Buffer access out-of-bounds: iwl3945_rates
- ./drivers/net/wireless/mwl8k.c:2705 [error] - instance of "mwl8k_cmd_set_pre_scan" object destroyed immediately
- ./drivers/net/wireless/mwl8k.c:2713 [error] - instance of "mwl8k_cmd_set_post_scan" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:49 [error] - instance of "p54_sta_unlock" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:53 [error] - instance of "p54_sta_unlock" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:244 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:268 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:315 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:381 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:386 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:400 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/main.c:409 [error] - instance of "p54_setup_mac" object destroyed immediately
- ./drivers/net/wireless/p54/p54usb.c:338 [error] - Memory leak: reg
- ./drivers/net/wireless/wl12xx/wl1271_main.c:146 [error] - instance of "wl1271_fw_status" object destroyed immediately
- ./drivers/parisc/iosapic.c:247 [error] - Uninitialized variable: a
- ./drivers/pci/hotplug/fakephp.c:94 [error] - Memory leak: slot
- ./drivers/pci/pcie/aer/aerdrv.c:217 [error] - Memory leak: rpc
- ./drivers/pnp/card.c:179 [error] - Memory leak: dev_id
- ./drivers/power/apm_power.c:230 [style] - Redundant assignment of "full_prop" in switch
- ./drivers/power/apm_power.c:231 [style] - Redundant assignment of "empty_prop" in switch
- ./drivers/power/apm_power.c:232 [style] - Redundant assignment of "full_design_prop" in switch
- ./drivers/power/apm_power.c:233 [style] - Redundant assignment of "empty_design_prop" in switch
- ./drivers/power/apm_power.c:234 [style] - Redundant assignment of "now_prop" in switch
- ./drivers/power/apm_power.c:235 [style] - Redundant assignment of "avg_prop" in switch
- ./drivers/rapidio/rio-scan.c:1031 [error] - Memory leak: net
- ./drivers/rtc/rtc-mxc.c:400 [error] - Memory leak: pdata
- ./drivers/rtc/rtc-pcf8583.c:199 [error] - Uninitialized variable: year
- ./drivers/s390/char/tape_3590.c:1615 [error] - Memory leak: rdc_data
- ./drivers/s390/cio/ccwgroup.c:229 [error] - Possible null pointer dereference: gdev - otherwise it is redundant to check if gdev is null at line 231
- ./drivers/s390/kvm/kvm_virtio.c:308 [error] - Memory leak: kdev
- ./drivers/scsi/aacraid/commsup.c:1238 [error] - instance of "aac_get_config_status" object destroyed immediately
- ./drivers/scsi/aacraid/linit.c:1204 [error] - instance of "aac_get_config_status" object destroyed immediately
- ./drivers/scsi/aacraid/linit.c:575 [error] - Uninitialized variable: command
- ./drivers/scsi/advansys.c:11989 [error] - Uninitialized variable: ret
- ./drivers/scsi/aic7xxx/aic79xx_core.c:6837 [error] - Memory leak: hscb_map
- ./drivers/scsi/aic7xxx/aic79xx_core.c:6870 [error] - Memory leak: sg_map
- ./drivers/scsi/aic7xxx/aic79xx_core.c:6907 [error] - Memory leak: sense_map
- ./drivers/scsi/aic7xxx/aic79xx_core.c:10440 [error] - Memory leak: tstate
- ./drivers/scsi/aic7xxx/aic7xxx_core.c:4998 [error] - Memory leak: sg_map
- ./drivers/scsi/aic7xxx/aic7xxx_core.c:7572 [error] - Memory leak: tstate
- ./drivers/scsi/aic7xxx/aicasm/aicasm.c:305 [error] - Memory leak: sentinal
- ./drivers/scsi/fd_mcs.c:1233 [error] - Possible null pointer dereference: SCpnt - otherwise it is redundant to check if SCpnt is null at line 1241
- ./drivers/scsi/in2000.c:1451 [error] - Possible null pointer dereference: cmd
- ./drivers/scsi/libfc/fc_exch.c:1739 [error] - Possible null pointer dereference: ep - otherwise it is redundant to check if ep is null at line 1742
- ./drivers/scsi/lpfc/lpfc_bsg.c:723 [error] - Deallocating a deallocated pointer: evt
- ./drivers/scsi/mpt2sas/mpt2sas_ctl.c:963 [error] - Buffer access out-of-bounds
- ./drivers/scsi/mpt2sas/mpt2sas_ctl.c:964 [error] - Buffer access out-of-bounds
- ./drivers/scsi/osd/osd_initiator.c:399 [error] - Memory leak: or
- ./drivers/scsi/wd33c93.c:1301 [error] - Possible null pointer dereference: cmd
- ./drivers/serial/68360serial.c:2249 [error] - Uninitialized variable: up
- ./drivers/serial/crisv10.c:1809 [error] - Memory leak: buffer
- ./drivers/serial/crisv10.c:1951 [error] - Memory leak: buffer
- ./drivers/spi/spi_bfin5xx.c:1038 [error] - Memory leak: chip
- ./drivers/staging/android/binder.c:1960 [error] - instance of "binder_transaction" object destroyed immediately
- ./drivers/staging/comedi/drivers/pcmmio.c:515 [error] - Array 'irq[1]' index 1 out of bounds
- ./drivers/staging/comedi/drivers/pcmmio.c:516 [error] - Array 'irq[1]' index 1 out of bounds
- ./drivers/staging/cx25821/cx25821-audups11.c:362 [error] - Possible null pointer dereference: fh - otherwise it is redundant to check if fh is null at line 365
- ./drivers/staging/cx25821/cx25821-video.c:966 [error] - Possible null pointer dereference: fh - otherwise it is redundant to check if fh is null at line 969
- ./drivers/staging/dream/camera/msm_camera.c:1890 [error] - Memory leak: ctrl_pmsm
- ./drivers/staging/dream/camera/msm_vfe8x.c:391 [error] - instance of "vfe_asf_update" object destroyed immediately
- ./drivers/staging/dream/smd/smd_rpcrouter.c:1206 [error] - Memory leak: server
- ./drivers/staging/hv/StorVsc.c:584 [error] - Memory leak: storDevice
- ./drivers/staging/hv/blkvsc_drv.c:1174 [error] - instance of "blkvsc_request" object destroyed immediately
- ./drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c:170 [error] - Resource leak: fp_ev
- ./drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c:170 [error] - Resource leak: fp
- ./drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c:107 [error] - Memory leak: data
- ./drivers/staging/otus/ioctl.c:876 [error] - Memory leak: pBssList
- ./drivers/staging/otus/wrap_ev.c:233 [error] - Uninitialized variable: buf
- ./drivers/staging/panel/panel.c:1918 [error] - Memory leak: key
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: ''.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'AGGREGATION_SUPPORT'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'CONFIG_5VT_ENHANCE;LINUX'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'CONFIG_PM'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'CONTAINING_RECORD;LINUX'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'DBG'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'DBG;LINUX'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'IGMP_SNOOP_SUPPORT'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'LINUX'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'LINUX;RT3070'.
- ./drivers/staging/rt2860/common/eeprom.c:1070 [error] - Memory leak: PDATA
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: ''.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'AGGREGATION_SUPPORT'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'CONFIG_5VT_ENHANCE;LINUX'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'CONTAINING_RECORD;LINUX'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'DBG'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'DBG;LINUX'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'IGMP_SNOOP_SUPPORT'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'LINUX'.
- ./drivers/staging/rt2860/common/mlme.c:1427 [error] - Invalid number of character (() when these macros are defined: 'LINUX;RT3070'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'CONSISTENT_PN_ORDER'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'DEBUG'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'CCX_SUPPORT'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'CONFIG_5VT_ENHANCE'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'IW_QUAL_DBM'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'AGGREGATION_SUPPORT;PIGGYBACK_SUPPORT'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: ''.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'AGGREGATION_SUPPORT'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'CONFIG_5VT_ENHANCE;LINUX'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'CONTAINING_RECORD;LINUX'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'DBG'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'DBG;LINUX'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'IGMP_SNOOP_SUPPORT'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'LINUX'.
- ./drivers/staging/rt2860/sta/rtmp_data.c:1132 [error] - Invalid number of character (() when these macros are defined: 'LINUX;RT3070'.
- ./drivers/staging/rt2860/sta/wpa.c:1952 [error] - Undefined behaviour: custom 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.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'IW_MLME_DEAUTH'.
- ./drivers/staging/rt2860/rtmp.h:3723 [error] - Invalid number of character (() when these macros are defined: 'IW_MLME_DISASSOC'.
- ./drivers/staging/rt2860/sta_ioctl.c:1682 [error] - Undefined behaviour: pOutBuf 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.
- ./drivers/staging/rt2860/sta_ioctl.c:1691 [error] - Undefined behaviour: pOutBuf 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.
- ./drivers/staging/rt2860/sta_ioctl.c:1693 [error] - Undefined behaviour: pOutBuf 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.
- ./drivers/staging/rt2860/sta_ioctl.c:1702 [error] - Undefined behaviour: pOutBuf 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.
- ./drivers/staging/rt2870/common/2870_rtmp_init.c:218 [error] - Buffer access out-of-bounds: pAd.NextBulkOutIndex
- ./drivers/staging/rt3090/common/cmm_info.c:3220 [error] - Undefined behaviour: pBuf 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.
- ./drivers/staging/rt3090/common/cmm_wpa.c:1972 [error] - Null pointer dereference
- ./drivers/staging/rt3090/common/cmm_wpa.c:1974 [error] - Null pointer dereference
- ./drivers/staging/rt3090/common/mlme.c:3098 [error] - Null pointer dereference
- ./drivers/staging/rt3090/common/mlme.c:3104 [error] - Null pointer dereference
- ./drivers/staging/rt3090/common/mlme.c:3117 [error] - Null pointer dereference
- ./drivers/staging/rt3090/sta_ioctl.c:7379 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7390 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7393 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7394 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7395 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7396 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7397 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7398 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7399 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7400 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7401 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7402 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7403 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rt3090/sta_ioctl.c:7405 [error] - Undefined behaviour: extra 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.
- ./drivers/staging/rtl8192su/r8192S_phy.c:2032 [error] - Array 'AntennaTxPwDiff[2]' index 2 out of bounds
- ./drivers/staging/rtl8192su/r8192S_phy.c:2037 [error] - Array 'AntennaTxPwDiff[2]' index 2 out of bounds
- ./drivers/staging/vme/bridges/vme_ca91cx42.c:1269 [error] - Memory leak: slave_image
- ./drivers/staging/vme/bridges/vme_ca91cx42.c:1269 [error] - Memory leak: lm
- ./drivers/staging/vme/bridges/vme_tsi148.c:235 [error] - Memory leak: error
- ./drivers/staging/vme/bridges/vme_tsi148.c:2571 [error] - Memory leak: slave_image
- ./drivers/staging/vme/bridges/vme_tsi148.c:2571 [error] - Memory leak: dma_ctrlr
- ./drivers/staging/vme/bridges/vme_tsi148.c:2571 [error] - Memory leak: lm
- ./drivers/staging/vt6655/vntwifi.c:471 [error] - Array 'sBSSList[42]' index 42 out of bounds
- ./drivers/staging/vt6656/usbpipe.c:779 [error] - Null pointer dereference
- ./drivers/staging/wlan-ng/p80211netdev.c:486 [error] - Invalid number of character ({) when these macros are defined: 'SIOCETHTOOL'.
- ./drivers/staging/wlan-ng/p80211wext.c:1236 [error] - Uninitialized variable: address
- ./drivers/usb/atm/usbatm.c:1393 [error] - Undefined behaviour: buffer 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.
- ./drivers/usb/core/devio.c:714 [error] - Memory leak: ps
- ./drivers/usb/gadget/amd5536udc.c:927 [error] - Possible null pointer dereference: td - otherwise it is redundant to check if td is null at line 929
- ./drivers/usb/gadget/f_audio.c:336 [error] - Memory leak: copy_buf
- ./drivers/usb/gadget/dummy_hcd.c:258 [error] - Uninitialized variable: ep
- ./drivers/usb/gadget/rndis.c:594 [error] - Memory leak: r
- ./drivers/usb/gadget/rndis.c:698 [error] - Memory leak: r
- ./drivers/usb/gadget/rndis.c:722 [error] - Memory leak: r
- ./drivers/usb/gadget/rndis.c:752 [error] - Memory leak: r
- ./drivers/usb/gadget/fsl_qe_udc.c:1839 [error] - Uninitialized variable: udc
- ./drivers/usb/gadget/omap_udc.c:1417 [error] - Uninitialized variable: ep
- ./drivers/usb/host/fhci-hcd.c:245 [error] - Possible null pointer dereference: usb - otherwise it is redundant to check if usb is null at line 247
- ./drivers/usb/musb/musb_host.c:1851 [error] - Uninitialized variable: idle
- ./drivers/usb/serial/ipaq.c:705 [error] - Memory leak: pkt.data
- ./drivers/usb/serial/mos7840.c:699 [error] - Possible null pointer dereference: mos7840_port
- ./drivers/usb/serial/mos7840.c:1403 [error] - Uninitialized variable: mos7840_port
- ./drivers/uwb/i1480/i1480u-wlp/tx.c:479 [error] - Memory leak: wtx
- ./drivers/uwb/reset.c:314 [error] - Deallocating a deallocated pointer: cmd
- ./drivers/video/nvidia/nv_i2c.c:143 [error] - syntax error
- ./drivers/video/sis/init301.c:5819 [error] - Division by zero
- ./drivers/video/skeletonfb.c:698 [error] - Possible null pointer dereference: info
- ./drivers/video/skeletonfb.c:706 [error] - Possible null pointer dereference: info
- ./drivers/video/skeletonfb.c:707 [error] - Possible null pointer dereference: info
- ./drivers/video/skeletonfb.c:708 [error] - Possible null pointer dereference: info
- ./drivers/video/skeletonfb.c:711 [error] - Possible null pointer dereference: info
- ./drivers/video/skeletonfb.c:733 [error] - Possible null pointer dereference: info
- ./drivers/video/skeletonfb.c:749 [error] - Possible null pointer dereference: info
- ./drivers/video/sm501fb.c:162 [error] - Uninitialized variable: ptr
- ./drivers/watchdog/cpwd.c:647 [error] - Buffer access out-of-bounds: p.devs
- ./drivers/watchdog/machzwd.c:147 [error] - Invalid number of character (() when these macros are defined: 'ZF_DEBUG'.
- ./drivers/watchdog/wm8350_wdt.c:287 [error] - Possible null pointer dereference: wm8350
- ./drivers/xen/xenbus/xenbus_probe.c:229 [error] - Uninitialized variable: bus
- ./firmware/ihex2fw.c:103 [error] - Resource leak: infd
- ./firmware/ihex2fw.c:124 [error] - Resource leak: outfd
- ./fs/adfs/dir_f.c:37 [error] - Array 'de . dirinddiscadd[3]' index 3 out of bounds
- ./fs/bio-integrity.c:420 [error] - Data is allocated but not initialized: buf
- ./fs/bio-integrity.c:421 [error] - Data is allocated but not initialized: buf
- ./fs/btrfs/relocation.c:3278 [error] - Memory leak: cluster
- ./fs/btrfs/volumes.c:1257 [error] - Possible null pointer dereference: fs_devices
- ./fs/compat.c:745 [error] - instance of "compat_nfs_string" object destroyed immediately
- ./fs/compat.c:746 [error] - instance of "compat_nfs_string" object destroyed immediately
- ./fs/compat.c:747 [error] - instance of "compat_nfs_string" object destroyed immediately
- ./fs/ecryptfs/keystore.c:1081 [error] - Memory leak: payload
- ./fs/jffs2/scan.c:517 [error] - Memory leak: sumptr
- ./fs/jffs2/xattr.c:699 [error] - syntax error
- ./fs/jfs/jfs_xtree.c:3798 [error] - Uninitialized variable: index
- ./fs/nilfs2/segment.c:2375 [error] - Uninitialized variable: ti
- ./fs/ntfs/compress.c:227 [error] - Uninitialized variable: completed_pages
- ./fs/ocfs2/dir.c:3187 [error] - Uninitialized variable: data_ac
- ./fs/ocfs2/quota_local.c:289 [error] - Memory leak: rc.rc_bitmap
- ./fs/romfs/storage.c:52 [error] - Uninitialized variable: buf
- ./fs/ubifs/replay.c:239 [error] - Uninitialized variable: err
- ./kernel/auditsc.c:732 [error] - syntax error
- ./kernel/cred.c:367 [error] - Memory leak: tgcred
- ./kernel/module.c:411 [error] - Possible null pointer dereference: new - otherwise it is redundant to check if new is null at line 413
- ./kernel/profile.c:440 [error] - instance of "profile_hit" object destroyed immediately
- ./lib/flex_array.c:258 [error] - Memory leak: part
- ./lib/reed_solomon/decode_rs.c:50 [error] - syntax error
- ./lib/reed_solomon/encode_rs.c:35 [error] - syntax error
- ./mm/kmemleak.c:1645 [error] - instance of "kmemleak_scan_area" object destroyed immediately
- ./mm/memory_hotplug.c:534 [error] - Memory leak: res
- ./mm/mempolicy.c:1969 [error] - Possible null pointer dereference: npol - otherwise it is redundant to check if npol is null at line 1971
- ./mm/percpu.c:1343 [error] - Uninitialized variable: ai
- ./mm/slub.c:3659 [error] - Dereferencing 'p' after it is deallocated / released
- ./mm/slub.c:3633 [error] - Memory leak: p
- ./mm/sparse.c:619 [error] - Memory leak: usemap
- ./mm/sparse.c:106 [error] - Memory leak: section
- ./net/9p/trans_rdma.c:502 [error] - Memory leak: c
- ./net/bluetooth/cmtp/capi.c:458 [error] - Memory leak: application
- ./net/iucv/iucv.c:1786 [error] - instance of "iucv_path_pending" object destroyed immediately
- ./net/netfilter/ipvs/ip_vs_sync.c:288 [error] - instance of "ip_vs_sync_conn" object destroyed immediately
- ./net/netfilter/xt_recent.c:277 [error] - Memory leak: e
- ./net/phonet/pn_dev.c:135 [error] - Memory leak: pnd
- ./net/sched/sch_mq.c:84 [error] - Possible null pointer dereference: qdisc - otherwise it is redundant to check if qdisc is null at line 85
- ./net/sched/sch_netem.c:327 [error] - Possible null pointer dereference: d - otherwise it is redundant to check if d is null at line 328
- ./net/sunrpc/auth.c:561 [error] - Possible null pointer dereference: cred - otherwise it is redundant to check if cred is null at line 562
- ./net/sunrpc/cache.c:1043 [error] - instance of "cache_request" object destroyed immediately
- ./net/wireless/sme.c:63 [error] - Possible null pointer dereference: request - otherwise it is redundant to check if request is null at line 66
- ./net/wireless/sme.c:64 [error] - Possible null pointer dereference: request - otherwise it is redundant to check if request is null at line 66
- ./scripts/basic/fixdep.c:154 [error] - Common realloc mistake: "str_config" nulled but not freed upon failure
- ./scripts/dtc/fstree.c:80 [error] - Resource leak: d
- ./scripts/genksyms/genksyms.c:795 [error] - Resource leak: ref_file
- ./scripts/kallsyms.c:237 [error] - Common realloc mistake: "table" nulled but not freed upon failure
- ./scripts/mod/modpost.c:311 [error] - Resource leak: fd
- ./sound/core/oss/pcm_oss.c:457 [error] - Memory leak: save
- ./sound/core/seq/seq_dummy.c:222 [error] - Memory leak: rec1
- ./sound/core/seq/seq_dummy.c:230 [error] - Memory leak: rec2
- ./sound/oss/vwsnd.c:177 [error] - Null pointer dereference
- ./sound/pci/riptide/riptide.c:1107 [error] - Uninitialized variable: runtime
- ./sound/soc/codecs/ak4642.c:486 [error] - Uninitialized variable: ret
- ./sound/soc/codecs/wm8988.c:1051 [error] - Uninitialized variable: ret
- ./sound/soc/s3c24xx/s3c24xx-pcm.c:128 [error] - Possible null pointer dereference: substream - otherwise it is redundant to check if substream is null at line 130
- ./sound/synth/emux/soundfont.c:1023 [error] - Memory leak: zone
- ./tools/perf/builtin-sched.c:339 [error] - Common realloc mistake: "tasks" nulled but not freed upon failure
- ./tools/perf/builtin-sched.c:275 [error] - Memory leak: event
- ./tools/perf/builtin-sched.c:290 [error] - Memory leak: event
- ./tools/perf/builtin-sched.c:314 [error] - Memory leak: event
- ./tools/perf/builtin-timechart.c:379 [error] - Memory leak: pwr
- ./tools/perf/builtin-timechart.c:571 [error] - Memory leak: pwr
- ./tools/perf/builtin-timechart.c:538 [error] - instance of "sched_switch" object destroyed immediately
- ./tools/perf/builtin-top.c:533 [error] - Memory leak: buf
- ./tools/perf/util/header.c:107 [error] - Common realloc mistake: "events" nulled but not freed upon failure
- ./tools/perf/util/parse-events.c:500 [error] - Resource leak: evt_dir
- ./tools/perf/util/parse-events.c:536 [error] - Memory leak: evt_name
- ./tools/perf/util/strbuf.c:115 [error] - Common realloc mistake: "ret" nulled but not freed upon failure
- ./tools/perf/util/trace-event-info.c:280 [error] - Resource leak: fd
- ./tools/perf/util/trace-event-info.c:356 [error] - Resource leak: dir
- ./tools/perf/util/trace-event-parse.c:916 [error] - Memory leak: brackets
- ./tools/perf/util/trace-event-read.c:105 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./tools/perf/util/trace-event-read.c:126 [error] - Common realloc mistake: "str" nulled but not freed upon failure
- ./tools/perf/util/values.c:172 [error] - Memory leak: counterwidth
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 14 Jan 2011 06:58:09 +0000, based on results by cppcheck 1.46