ctksourceview (clang-tools 1:21.1.6-71+b1) - scan-build results

User:root@b1a35f274b47
Working Directory:/rootdir
Command Line:ninja -C _build
Clang Version:Debian clang version 21.1.8 (7+b1)
Date:Sat Jun 20 22:50:21 2026

Bug Summary

Bug TypeQuantityDisplay?
All Bugs11
Logic error
Cast from non-struct type to struct type2
Dereference of null pointer1
Division by zero1
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_spaces363421View Report
Stream handling errorInvalid stream state_build/tmp-introspectsk3we26o/CtkSource-4.cread_line8934View Report
Stream handling errorStream already in EOF_build/tmp-introspectsk3we26o/CtkSource-4.cread_line8934View Report
Unused codeUnreachable code_build/tmp-introspectsk3we26o/CtkSource-4.cvalue_to_string2391View Report