lector (clang-tools 1:16.0-57) - scan-build results

User:root@8a1047ea5189
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (19)
Date:Sat Feb 17 12:35:48 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs65
API
Argument with 'nonnull' attribute passed null5
Logic error
Cast from non-struct type to struct type4
Dereference of null pointer6
Out-of-bound access8
Result of operation is garbage or undefined7
Uninitialized argument value1
Use fixed address3
Memory error
Memory leak1
Use of zero allocated2
Unused code
Dead assignment13
Dead increment1
Dead nested assignment2
Unreachable code12

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullbackend/dvi/mdvi-lib/common.cbuff_add1427View Report
APIArgument with 'nonnull' attribute passed nullbackend/dvi/mdvi-lib/util.cmdvi_build_path_from_cwd3398View Report
APIArgument with 'nonnull' attribute passed nullbackend/dvi/mdvi-lib/bitmap.cbitmap_convert_lsb814710View Report
APIArgument with 'nonnull' attribute passed nullbackend/dvi/mdvi-lib/bitmap.cbitmap_copy2015View Report
APIArgument with 'nonnull' attribute passed nullbackend/dvi/mdvi-lib/bitmap.cbitmap_convert_msb818712View Report
Logic errorCast from non-struct type to struct typeshell/ev-bookmarks.cev_bookmarks_save2041View Report
Logic errorCast from non-struct type to struct typeshell/ev-bookmarks.cev_bookmarks_constructed1311View Report
Logic errorCast from non-struct type to struct typecut-n-paste/smclient/eggsmclient-xsmp.cptrarray_prop11881View Report
Logic errorCast from non-struct type to struct typecut-n-paste/smclient/eggsmclient-xsmp.carray_prop11551View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/pagesel.cmdvi_parse_range601View Report
Unused codeDead assignmentbackend/djvu/djvu-links.cget_djvu_hyperlink_mapping3291View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/tfmfile.cofm1_load_file4111View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/tfmfile.cofm_load_file4531View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/bitmap.cbitmap_print2531View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/pagesel.cmdvi_parse_range611View Report
Unused codeDead assignmentcut-n-paste/toolbar-editor/egg-toolbar-editor.cupdate_editor_sheet6191View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/pagesel.cmdvi_parse_range591View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/tfmfile.cofm1_load_file3361View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/util.cunit2pix_factor3651View Report
Unused codeDead assignmentbackend/dvi/mdvi-lib/tfmfile.cofm_load_file5101View Report
Unused codeDead assignmentcut-n-paste/toolbar-editor/egg-toolbars-model.cegg_toolbars_model_to_xml1011View Report
Unused codeDead assignmentbackend/pdf/ev-poppler.ccpdf_document_annotations_add_annotation29781View Report
Unused codeDead incrementbackend/dvi/mdvi-lib/tfmfile.ctfm_load_file2501View Report
Unused codeDead nested assignmentbackend/dvi/mdvi-lib/dviread.cmdvi_dopage10361View Report
Unused codeDead nested assignmentbackend/dvi/mdvi-lib/vf.cvf_load_font731View Report
Logic errorDereference of null pointerlibview/ev-pixbuf-cache.cmove_one_job41339View Report
Logic errorDereference of null pointerbackend/dvi/mdvi-lib/bitmap.cbitmap_convert_msb818112View Report
Logic errorDereference of null pointershell/ev-daemon.cdocument_loaded_cb2123View Report
Logic errorDereference of null pointerbackend/dvi/mdvi-lib/bitmap.cmdvi_shrink_glyph90030View Report
Logic errorDereference of null pointerlibview/ev-pixbuf-cache.cadd_job_if_needed70872View Report
Logic errorDereference of null pointerbackend/dvi/mdvi-lib/tfm.cget_tfm_chars11217View Report
Memory errorMemory leakbackend/dvi/mdvi-lib/util.cmdvi_build_path_from_cwd33911View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/tfmfile.cofm1_load_file34927View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/bitmap.cmdvi_shrink_glyph_grey101228View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/tfmfile.cofm_load_file52632View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/dviread.cmdvi_run_macro98114View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/dviread.cmdvi_dopage109115View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/util.cxstradd4145View Report
Logic errorOut-of-bound accesslibview/ev-view.cev_view_build_height_to_page_cache37761View Report
Logic errorOut-of-bound accessbackend/dvi/mdvi-lib/bitmap.cdo_sample78340View Report
Logic errorResult of operation is garbage or undefinedbackend/dvi/dvi-document.cdvi_document_do_color_special51220View Report
Logic errorResult of operation is garbage or undefinedbackend/comics/comics-document.ccomics_document_thumbnails_get_dimensions96612View Report
Logic errorResult of operation is garbage or undefinedbackend/dvi/dvi-document.cdvi_document_do_color_special53018View Report
Logic errorResult of operation is garbage or undefinedbackend/dvi/dvi-document.cdvi_document_do_color_special51114View Report
Logic errorResult of operation is garbage or undefinedbackend/tiff/tiff-document.ctiff_document_thumbnails_get_dimensions48419View Report
Logic errorResult of operation is garbage or undefinedbackend/comics/comics-document.ccomics_document_thumbnails_get_dimensions96310View Report
Logic errorResult of operation is garbage or undefinedbackend/tiff/tiff-document.ctiff_document_thumbnails_get_dimensions48117View Report
Logic errorUninitialized argument valuebackend/dvi/dvi-document.cdvi_document_do_color_special52116View Report
Unused codeUnreachable codebackend/pdf/ev-poppler.ccpdf_document_annotations_add_annotation29221View Report
Unused codeUnreachable codethumbnailer/lector-thumbnailer.cmain2581View Report
Unused codeUnreachable codebackend/dvi/mdvi-lib/dviread.csort_random3621View Report
Unused codeUnreachable codethumbnailer/lector-thumbnailer.cmain2671View Report
Unused codeUnreachable codeshell/main.cmain2591View Report
Unused codeUnreachable codepreviewer/ev-previewer.cmain1591View Report
Unused codeUnreachable codethumbnailer/lector-thumbnailer.cmain2481View Report
Unused codeUnreachable codethumbnailer/lector-thumbnailer.cmain2311View Report
Unused codeUnreachable codeshell/main.coption_version_cb611View Report
Unused codeUnreachable codethumbnailer/lector-thumbnailer.cmain3071View Report
Unused codeUnreachable codelibview/ev-jobs.cev_job_render_run5991View Report
Unused codeUnreachable codebackend/pdf/ev-poppler.ccpdf_document_file_exporter_begin16531View Report
Logic errorUse fixed addressbackend/dvi/mdvi-lib/font.cfont_transform_glyph21431View Report
Logic errorUse fixed addressbackend/dvi/mdvi-lib/tfm.ctfm_font_get_glyph2118View Report
Logic errorUse fixed addressbackend/dvi/mdvi-lib/bitmap.cmdvi_shrink_box8265View Report
Memory errorUse of zero allocatedbackend/dvi/mdvi-lib/util.cdstring_append48319View Report
Memory errorUse of zero allocatedbackend/dvi/mdvi-lib/util.cdstring_insert52618View Report