libidn2 - scan-build results

User:jas@latte
Working Directory:/home/jas/src/libidn2
Command Line:make
Clang Version:Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
Date:Mon Jan 16 09:17:48 2017

Bug Summary

Bug TypeQuantityDisplay?
All Bugs8
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment3
Logic error
Dereference of null pointer1
Result of operation is garbage or undefined1
Memory Error
Memory leak2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullgentr46map.c_compact_idna_map4998View Report
Dead storeDead assignmentsrc /idn2_cmd.ccmdline_parser_internal4431View Report
Dead storeDead assignmentsrc /idn2_cmd.cupdate_arg3921View Report
Dead storeDead assignmentlookup.c_tr462261View Report
Logic errorDereference of null pointersrc /idn2_cmd.cupdate_arg39627View Report
Memory ErrorMemory leaklib /localcharset.cget_charset_aliases24428View Report
Memory ErrorMemory leaklib /localcharset.cget_charset_aliases23932View Report
Logic errorResult of operation is garbage or undefinedgentr46map.cread_IdnaMappings3139View Report