linux - scan-build results

User:jsmoeller@llvm1.linux-foundation.org
Working Directory:/home/buildbot/buildbot/sandbox/slave/common/targets/vexpress/src/linux
Command Line:make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j5 CONFIG_DEBUG_INFO=1 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y 'CC?=/home/buildbot/buildbot/sandbox/slave/common/toolchain/clang/install/bin/clang -gcc-toolchain /home/buildbot/buildbot/sandbox/slave/common/arch/arm/toolchain/codesourcery/arm-2013.05'
Clang Version:clang version 3.4
Date:Fri Apr 4 22:36:46 2014

Bug Summary

Bug TypeQuantityDisplay?
All Bugs122
Logic error
Branch condition evaluates to a garbage value21
Dangerous variable-length array (VLA) declaration2
Dereference of null pointer80
Dereference of undefined pointer value4
Division by zero5
Garbage return value3
Stack address stored into global variable1
Unix API6

Reports

Bug Group Bug Type ▾ File Line Path Length
Logic errorBranch condition evaluates to a garbage valuedrivers /input /mouse /trackpoint.c978View Report
Logic errorBranch condition evaluates to a garbage valuemm /percpu.c158916View Report
Logic errorBranch condition evaluates to a garbage valuefs /mpage.c2837View Report
Logic errorBranch condition evaluates to a garbage valuelib /idr.c72713View Report
Logic errorBranch condition evaluates to a garbage valuelib /idr.c73313View Report
Logic errorBranch condition evaluates to a garbage valuelib /idr.c78315View Report
Logic errorBranch condition evaluates to a garbage valuelib /idr.c62514View Report
Logic errorBranch condition evaluates to a garbage valuekernel /posix-cpu-timers.c71722View Report
Logic errorBranch condition evaluates to a garbage valuekernel /sysctl_binary.c135712View Report
Logic errorBranch condition evaluates to a garbage valuedrivers /rtc /interface.c22113View Report
Logic errorBranch condition evaluates to a garbage valuefs /ext4 /mballoc.c39483View Report
Logic errorBranch condition evaluates to a garbage valuefs /jffs2 /erase.c18916View Report
Logic errorBranch condition evaluates to a garbage valuefs /namei.c394248View Report
Logic errorBranch condition evaluates to a garbage valuedrivers /mtd /chips /cfi_cmdset_0001.c172424View Report
Logic errorBranch condition evaluates to a garbage valuelib /idr.c77716View Report
Logic errorBranch condition evaluates to a garbage valuekernel /posix-cpu-timers.c71722View Report
Logic errorBranch condition evaluates to a garbage valuekernel /sysctl_binary.c135716View Report
Logic errorBranch condition evaluates to a garbage valuekernel /posix-cpu-timers.c8077View Report
Logic errorBranch condition evaluates to a garbage valuekernel /posix-cpu-timers.c123013View Report
Logic errorBranch condition evaluates to a garbage valuekernel /events /core.c439712View Report
Logic errorBranch condition evaluates to a garbage valuelib /idr.c63511View Report
Logic errorDangerous variable-length array (VLA) declarationnet /core /rtnetlink.c186315View Report
Logic errorDangerous variable-length array (VLA) declarationnet /core /rtnetlink.c186213View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c6355View Report
Logic errorDereference of null pointerfs /namei.c102334View Report
Logic errorDereference of null pointernet /core /dev.c394816View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c169711View Report
Logic errorDereference of null pointerfs /proc_namespace.c271View Report
Logic errorDereference of null pointerfs /jffs2 /nodelist.c6007View Report
Logic errorDereference of null pointerkernel /cgroup.c10733View Report
Logic errorDereference of null pointerdrivers /ata /libata-core.c58486View Report
Logic errorDereference of null pointerkernel /cgroup.c43252View Report
Logic errorDereference of null pointerkernel /cgroup.c9963View Report
Logic errorDereference of null pointerkernel /sched /core.c582810View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c12774View Report
Logic errorDereference of null pointerkernel /cgroup.c97711View Report
Logic errorDereference of null pointerarch /arm /kernel /atags_parse.c2085View Report
Logic errorDereference of null pointernet /ipv4 /fib_trie.c18626View Report
Logic errorDereference of null pointerdrivers /tty /sysrq.c1402View Report
Logic errorDereference of null pointerkernel /posix-cpu-timers.c103115View Report
Logic errorDereference of null pointerfs /kernfs /file.c7712View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c5574View Report
Logic errorDereference of null pointerkernel /cgroup.c348719View Report
Logic errorDereference of null pointerkernel /futex.c187528View Report
Logic errorDereference of null pointerarch /arm /kernel /devtree.c2348View Report
Logic errorDereference of null pointerkernel /cgroup.c119312View Report
Logic errorDereference of null pointerfs /bio.c65216View Report
Logic errorDereference of null pointerfs /nfs /read.c9922View Report
Logic errorDereference of null pointermm /slub.c198711View Report
Logic errorDereference of null pointerkernel /events /core.c77453View Report
Logic errorDereference of null pointerkernel /cgroup.c41922View Report
Logic errorDereference of null pointernet /ipv4 /xfrm4_protocol.c541View Report
Logic errorDereference of null pointerdrivers /base /bus.c96355View Report
Logic errorDereference of null pointerfs /bio.c65716View Report
Logic errorDereference of null pointerfs /seq_file.c4429View Report
Logic errorDereference of null pointerkernel /cgroup.c42848View Report
Logic errorDereference of null pointersound /pci /ac97 /ac97_codec.c231139View Report
Logic errorDereference of null pointerkernel /sched /fair.c45638View Report
Logic errorDereference of null pointermm /slub.c152416View Report
Logic errorDereference of null pointerdrivers /scsi /scsi_scan.c3616View Report
Logic errorDereference of null pointerkernel /futex.c188428View Report
Logic errorDereference of null pointerkernel /cgroup.c45834View Report
Logic errorDereference of null pointerarch /arm /kernel /atags_parse.c2246View Report
Logic errorDereference of null pointerfs /seq_file.c44610View Report
Logic errorDereference of null pointerkernel /posix-cpu-timers.c105116View Report
Logic errorDereference of null pointerkernel /cpuset.c13734View Report
Logic errorDereference of null pointerkernel /cgroup.c44146View Report
Logic errorDereference of null pointerkernel /cgroup.c44635View Report
Logic errorDereference of null pointerdrivers /scsi /sd.c62213View Report
Logic errorDereference of null pointerfs /notify /fsnotify.c18017View Report
Logic errorDereference of null pointerlib /list_sort.c757View Report
Logic errorDereference of null pointerdrivers /tty /tty_io.c14779View Report
Logic errorDereference of null pointerdrivers /mmc /card /block.c7449View Report
Logic errorDereference of null pointerdrivers /tty /serial /serial_core.c13347View Report
Logic errorDereference of null pointernet /sunrpc /auth.c7925View Report
Logic errorDereference of null pointernet /ipv4 /xfrm4_protocol.c721View Report
Logic errorDereference of null pointerfs /jbd /transaction.c152711View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c14134View Report
Logic errorDereference of null pointernet /netlink /genetlink.c10674View Report
Logic errorDereference of null pointerfs /jffs2 /gc.c52914View Report
Logic errorDereference of null pointerfs /jffs2 /nodemgmt.c5103View Report
Logic errorDereference of null pointernet /core /dev.c495215View Report
Logic errorDereference of null pointerfs /nfs /write.c13622View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c10644View Report
Logic errorDereference of null pointerdrivers /tty /tty_io.c180012View Report
Logic errorDereference of null pointerkernel /cgroup.c105115View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c23844View Report
Logic errorDereference of null pointerkernel /events /core.c176936View Report
Logic errorDereference of null pointerkernel /cgroup.c362216View Report
Logic errorDereference of null pointerkernel /cgroup.c41492View Report
Logic errorDereference of null pointerfs /namei.c11888View Report
Logic errorDereference of null pointerkernel /cgroup.c10338View Report
Logic errorDereference of null pointerkernel /cgroup.c12295View Report
Logic errorDereference of null pointernet /core /dev.c495214View Report
Logic errorDereference of null pointerkernel /locking /rtmutex.c1434View Report
Logic errorDereference of null pointerkernel /posix-cpu-timers.c21310View Report
Logic errorDereference of null pointerfs /jbd2 /transaction.c7974View Report
Logic errorDereference of null pointerdrivers /tty /serial /serial_core.c13608View Report
Logic errorDereference of null pointerkernel /cgroup.c104310View Report
Logic errorDereference of null pointerkernel /cpuset.c13435View Report
Logic errorDereference of null pointerkernel /sched /core.c585017View Report
Logic errorDereference of null pointernet /ipv4 /tcp_input.c46711View Report
Logic errorDereference of null pointerdrivers /ata /libata-core.c48552View Report
Logic errorDereference of undefined pointer valuefs /namei.c348026View Report
Logic errorDereference of undefined pointer valuefs /namei.c380931View Report
Logic errorDereference of undefined pointer valuefs /fat /dir.c124624View Report
Logic errorDereference of undefined pointer valuefs /ext4 /indirect.c377View Report
Logic errorDivision by zerodrivers /usb /core /hub.c5044View Report
Logic errorDivision by zerosound /core /oss /pcm_oss.c139419View Report
Logic errorDivision by zerodrivers /clk /clk-divider.c21017View Report
Logic errorDivision by zerodrivers /video /console /fbcon.c20932View Report
Logic errorDivision by zerofs /jffs2 /wbuf.c87623View Report
Logic errorGarbage return valuekernel /posix-cpu-timers.c4548View Report
Logic errorGarbage return valuenet /packet /af_packet.c256121View Report
Logic errorGarbage return valuefs /fat /cache.c21517View Report
Logic errorStack address stored into global variablenet /core /net_namespace.c4914View Report
Logic errorUnix APInet /sunrpc /xdr.c69311View Report
Logic errorUnix APIfs /lockd /mon.c3399View Report
Logic errorUnix APIdrivers /tty /vt /keyboard.c197726View Report
Logic errorUnix APIfs /xattr.c2228View Report
Logic errorUnix APInet /ipv4 /arp.c65533View Report
Logic errorUnix APIdrivers /usb /core /hcd.c134920View Report