xcb-util-cursor-0.1.6-1.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:70:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'cf.tocs'
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:95:5: enter_function: entry to 'parse_cursor_file'
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:104:8: branch_false: following 'false' branch...
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:107:23: branch_false: ...to here
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:112:8: branch_false: following 'false' branch...
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:115:9: branch_false: ...to here
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:119:8: branch_false: following 'false' branch...
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:123:22: branch_false: ...to here
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:123:15: acquire_memory: this call could return NULL
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:124:8: branch_false: following 'false' branch...
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:134:37: branch_false: ...to here
xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:134:17: call_function: calling 'find_best_size' from 'parse_cursor_file'
#   68|       uint32_t nsizes = 0;
#   69|       for (int n = 0; n < cf->header.ntoc; n++) {
#   70|->         const uint32_t size = cf->tocs[n].subtype;
#   71|   
#   72|           if (cf->tocs[n].type != XCURSOR_IMAGE_TYPE)

Error: COMPILER_WARNING (CWE-758): [#def2]
xcb-util-cursor-0.1.6/cursor/shape_to_id.gperf:80:1: warning[-Wmissing-prototypes]: no previous prototype for 'in_word_set'
#   80 | xterm,76
#      | ^~~~~~~~   
#   78|   ur_angle,74
#   79|   watch,75
#   80|-> xterm,76
#   81|   %%
#   82|   const int cursor_shape_to_id(const char *name) {

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-203.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namexcb-util-cursor-0.1.6-1.fc44
store-results-to/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.tar.xz
time-created2026-01-08 22:07:07
time-finished2026-01-08 22:08:24
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9