lib - scan-build results

User:liu@sz77
Working Directory:/home/liu/buildslave/linux-x64-runtests/build/lib
Command Line:make
Clang Version:clang version 7.0.0 (tags/RELEASE_700/final)
Date:Sat Oct 6 15:49:46 2018

Bug Summary

Bug TypeQuantityDisplay?
All Bugs106
API
Argument with 'nonnull' attribute passed null5
Dead store
Dead assignment6
Dead initialization1
Logic error
Assigned value is garbage or undefined13
Branch condition evaluates to a garbage value4
Dereference of null pointer32
Dereference of undefined pointer value7
Division by zero3
Result of operation is garbage or undefined25
Return of address to stack-allocated memory2
Uninitialized argument value5
Memory error
Memory leak1
Use of zero allocated1
Use-after-free1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell6799541View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell6793737View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlRead919812View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.csqlite3ExprAlloc9479213View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cenlargeAndAppend2715935View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_simplify.c_ccv_nnc_symbolic_graph_pruning_undead_exec57733View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.cccv_bbf_classifier_cascade_new103531View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_backward.c_ccv_nnc_symbolic_graph_backward_prep_sub_f_wrt_symbols72018View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.cccv_bbf_detect_objects126623View Report
Logic errorAssigned value is garbage or undefinedccv_icf.c_ccv_icf_precompute_classifier_cascade117814View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new356818View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.c_ccv_save_bbf_cacade_training_state92917View Report
Logic errorAssigned value is garbage or undefinedccv_resample.c_ccv_resample_area_8u6329View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_simplify.c_ccv_nnc_symbolic_graph_pruning_undead_exec58035View Report
Logic errorAssigned value is garbage or undefinedccv_icf.c_ccv_icf_precompute_classifier_cascade117614View Report
Logic errorAssigned value is garbage or undefinedccv_resample.c_ccv_resample_area_8u9136View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.csqlite3VdbeMemClearAndResize7264823View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.c_ccv_save_bbf_cacade_training_state93519View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_graph.cccv_nnc_graph_exec_set_io33213View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new351619View Report
Logic errorBranch condition evaluates to a garbage value3rdparty/sqlite3/sqlite3.csqlite3BtreeInsert6985028View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new353327View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.csqlite3BtreeMovetoUnpacked668861View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.csqlite3Pragma1182441View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.csqlite3VdbeExec879701View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.csqlite3VdbeExec880581View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.csqlite3VdbeExec826151View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.cpragmaVtabConnect1191031View Report
Dead storeDead initialization3rdparty/sqlite3/sqlite3.csqlite3PagerCommitPhaseOne555261View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cvdbeMemFromBtreeResize7347931View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cvdbeMergeEngineInit9121311View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_tensor_arena_new109724View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cisCandidateForInOpt9615552View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger11232147View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_tensor_arena_new117719View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cxferOptimization11462556View Report
Logic errorDereference of null pointerccv_bbf.cccv_bbf_detect_objects123222View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3PagerOpenWal5666736View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3ValueBytes742196View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_exec_dep_and_tensor_blocks_prep189736View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3AuthRead10305526View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeList7594141View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CodeSubselect9678945View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_symbolic_graph_prep_new28867View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3ExprCodeTarget9784716View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwalCleanupHash5777945View Report
Logic errorDereference of null pointerccv_dpm.cccv_dpm_mixture_model_new183557View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwithExpand12454538View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3ExprCodeTarget9782915View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_is_symbolic_graph_exec_input_or_output79620View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CodeSubselect9667048View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CreateIndex10655143View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cflattenSubquery12396832View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_tensor_dot_recovery109356View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger11232546View Report
Logic errorDereference of null pointerccv_scd.cccv_scd_classifier_cascade_read160719View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_backward.c_ccv_nnc_symbolic_graph_backward_prep6626View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeAddOp37441027View Report
Logic errorDereference of null pointerccv_sift.cccv_sift25818View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3ExprVectorSize9438849View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3EndTable10524823View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state70314View Report
Logic errorDereference of undefined pointer valueccv_dpm.cccv_dpm_detect_objects210414View Report
Logic errorDereference of undefined pointer valueccv_dpm.cccv_dpm_detect_objects210314View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state68512View Report
Logic errorDereference of undefined pointer valueccv_dpm.cccv_dpm_detect_objects210514View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state68514View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state70316View Report
Logic errorDivision by zeronnc/ccv_cnnp_model_core.c_ccv_cnnp_convolution_init_states2326View Report
Logic errorDivision by zeroccv_bbf.cccv_bbf_detect_objects132421View Report
Logic errorDivision by zeroccv_tld.cccv_tld_track_object95913View Report
Memory errorMemory leakccv_scd.cccv_scd_classifier_cascade_new128516View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125112View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126212View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126212View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125112View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125112View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126012View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126212View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area_8u7436View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_merge_textline53220View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125312View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125312View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126012View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_median2918View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125312View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.cwherePathSatisfiesOrderBy13837232View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126012View Report
Logic errorResult of operation is garbage or undefinedccv_icf.c_ccv_icf_read_classifier_cascade_state6458View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_median2918View Report
Logic errorResult of operation is garbage or undefinedccv_bbf.c_ccv_bbf_convex_optimize82924View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_median2927View Report
Logic errorResult of operation is garbage or undefinednnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new34066View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_add_letter45017View Report
Logic errorResult of operation is garbage or undefinedccv_icf.c_ccv_icf_read_classifier_cascade_state66210View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.csqlite3BitvecBuiltinTest4629316View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area_8u8036View Report
Logic errorReturn of address to stack-allocated memory3rdparty/sqlite3/sqlite3.csqlite3SelectNew1204199View Report
Logic errorReturn of address to stack-allocated memory3rdparty/sqlite3/sqlite3.csqlite3VdbeExpandSql811538View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new358613View Report
Logic errorUninitialized argument valueccv_scd.cccv_scd_classifier_cascade_new134310View Report
Logic errorUninitialized argument valueccv_convnet.c_ccv_convnet_full_connect_backward_propagate97424View Report
Logic errorUninitialized argument valueccv_dpm.cccv_dpm_detect_objects212215View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new359715View Report
Memory errorUse of zero allocatednnc/ccv_nnc_graph.c_ccv_nnc_graph_static_schedule80718View Report
Memory errorUse-after-freeccv_dpm.cccv_dpm_mixture_model_new196566View Report