musl - scan-build results

User:kraj@haswell
Working Directory:/home/kraj/work/oe/musl
Command Line:make -j16
Clang Version:clang version 5.0.0 (trunk 297293)
Date:Thu Mar 9 17:48:16 2017

Bug Summary

Bug TypeQuantityDisplay?
All Bugs57
Dead store
Dead assignment12
Dead increment1
Logic error
Assigned value is garbage or undefined13
Branch condition evaluates to a garbage value1
Dereference of null pointer6
Division by zero2
Garbage return value3
Out-of-bound array access1
Result of operation is garbage or undefined14
Uninitialized argument value2
Unix API1
Memory Error
Memory leak1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefinedldso/dynlink.cmap_library64443View Report
Logic errorAssigned value is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large43844View Report
Logic errorAssigned value is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large43841View Report
Logic errorAssigned value is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large43627View Report
Logic errorAssigned value is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large43625View Report
Logic errorAssigned value is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large35234View Report
Logic errorAssigned value is garbage or undefinedsrc/malloc/memalign.c__memalign378View Report
Logic errorAssigned value is garbage or undefinedsrc/ldso/dl_iterate_phdr.cstatic_dl_iterate_phdr192View Report
Logic errorAssigned value is garbage or undefinedsrc/aio/aio.cio_thread_func25215View Report
Logic errorAssigned value is garbage or undefinedsrc/time/timer_create.ctimer_create13010View Report
Logic errorAssigned value is garbage or undefinedsrc/time/timer_create.ctimer_create1047View Report
Logic errorAssigned value is garbage or undefinedsrc/signal/sigaction.c__libc_sigaction479View Report
Logic errorAssigned value is garbage or undefinedsrc/network/dn_comp.c__dn_comp9021View Report
Logic errorBranch condition evaluates to a garbage valuesrc/thread/pthread_create.c__pthread_create23917View Report
Dead storeDead assignmentsrc/regex/regcomp.ctre_add_tags16431View Report
Dead storeDead assignmentsrc/regex/regcomp.cparse_bracket6631View Report
Dead storeDead assignmentsrc/internal/floatscan.cdecfloat1611View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l611View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l431View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l391View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l361View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l331View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l281View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l271View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l261View Report
Dead storeDead assignmentsrc/locale/strfmon.cvstrfmon_l251View Report
Dead storeDead incrementsrc/network/gethostbyname2_r.cgethostbyname2_r731View Report
Logic errorDereference of null pointerldso/dynlink.cdo_relocs39852View Report
Logic errorDereference of null pointerldso/dynlink.cdo_relocs38751View Report
Logic errorDereference of null pointersrc/regex/regexec.ctre_fill_pmatch95218View Report
Logic errorDereference of null pointersrc/regex/regexec.ctre_fill_pmatch94717View Report
Logic errorDereference of null pointersrc/regex/regexec.ctre_tnfa_run_backtrack86959View Report
Logic errorDereference of null pointersrc/regex/regexec.ctre_tnfa_run_backtrack78163View Report
Logic errorDivision by zerosrc/stdio/fwrite.cfwrite354View Report
Logic errorDivision by zerosrc/stdio/fread.cfread309View Report
Logic errorGarbage return valuesrc/linux/ptrace.cptrace246View Report
Logic errorGarbage return valuesrc/stdio/pclose.cpclose126View Report
Logic errorGarbage return valuesrc/sched/sched_getcpu.csched_getcpu426View Report
Memory ErrorMemory leaksrc/locale/dcngettext.cdcngettext13922View Report
Logic errorOut-of-bound array accesssrc/regex/glob.cappend4626View Report
Logic errorResult of operation is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large41723View Report
Logic errorResult of operation is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large39020View Report
Logic errorResult of operation is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large37135View Report
Logic errorResult of operation is garbage or undefinedsrc/math/__rem_pio2_large.c__rem_pio2_large30523View Report
Logic errorResult of operation is garbage or undefinedsrc/malloc/malloc.c__malloc03723View Report
Logic errorResult of operation is garbage or undefinedsrc/math/__rem_pio2l.c__rem_pio2l12210View Report
Logic errorResult of operation is garbage or undefinedsrc/math/__rem_pio2.c__rem_pio216615View Report
Logic errorResult of operation is garbage or undefinedsrc/fcntl/fcntl.cfcntl2211View Report
Logic errorResult of operation is garbage or undefinedsrc/unistd/faccessat.cfaccessat557View Report
Logic errorResult of operation is garbage or undefinedsrc/stdlib/qsort.cshr8416View Report
Logic errorResult of operation is garbage or undefinedsrc/stdio/__stdio_write.c__stdio_write3111View Report
Logic errorResult of operation is garbage or undefinedsrc/stat/fchmodat.cfchmodat217View Report
Logic errorResult of operation is garbage or undefinedsrc/misc/getrlimit.cgetrlimit205View Report
Logic errorResult of operation is garbage or undefinedsrc/malloc/malloc.c__malloc03723View Report
Logic errorUninitialized argument valuesrc/time/__map_file.c__map_file154View Report
Logic errorUninitialized argument valuesrc/misc/pty.c__ptsname_r306View Report
Logic errorUnix APIldso/dynlink.cdo_relocs38767View Report