ctksourceview (clang-tools 1:19.0-63) - scan-build results

User:root@33c315edeca6
Working Directory:/rootdir
Command Line:ninja -C _build
Clang Version:Debian clang version 19.1.7 (3+b1)
Date:Sun Jul 20 15:31:42 2025

Bug Summary

Bug TypeQuantityDisplay?
All Bugs14
Logic error
Cast from non-struct type to struct type2
Dereference of null pointer1
Division by zero1
Out-of-bound access2
Use fixed address1
Stream handling error
Invalid stream state1
Stream already in EOF1
Unused code
Dead assignment4
Unreachable code1

Filter Results by File

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorCast from non-struct type to struct typectksourceview/ctksourceencoding.cctk_source_encoding_get_default_candidates6611View Report
Logic errorCast from non-struct type to struct typectksourceview/ctksourceencoding.cctk_source_encoding_get_default_candidates6421View Report
Unused codeDead assignmentctksourceview/ctksourceutils.c_ctk_source_view_jump_to_iter7541View Report
Unused codeDead assignmentctksourceview/ctksourceregion.cctk_source_region_add_subregion5041View Report
Unused codeDead assignmentctksourceview/ctksourceutils.c_ctk_source_view_jump_to_iter7271View Report
Unused codeDead assignmentctksourceview/ctksourceregion.cctk_source_region_subtract_subregion6661View Report
Logic errorDereference of null pointerctksourceview/ctksourcebufferoutputstream.cget_encoding28320View Report
Logic errorDivision by zeroctksourceview/ctksourceview.cinsert_tab_or_spaces363420View Report
Stream handling errorInvalid stream state_build/tmp-introspectjtckpm8v/CtkSource-4.cread_line8933View Report
Logic errorOut-of-bound accesstestsuite/test-stylescheme.ccompare_strv9231View Report
Logic errorOut-of-bound accesstestsuite/test-language.ccompare_strv_unordered9241View Report
Stream handling errorStream already in EOF_build/tmp-introspectjtckpm8v/CtkSource-4.cread_line8933View Report
Unused codeUnreachable code_build/tmp-introspectjtckpm8v/CtkSource-4.cvalue_to_string2391View Report
Logic errorUse fixed addresstestsuite/test-file-saver.ctest_saver19812View Report