Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
vim91/src/clipboard.c:2937:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
vim91/src/clipboard.c:2880:8: branch_false: following ‘false’ branch...
vim91/src/clipboard.c:2883:20: branch_false: ...to here
vim91/src/clipboard.c:2885:8: branch_false: following ‘false’ branch...
vim91/src/clipboard.c:2888:31: branch_false: ...to here
vim91/src/clipboard.c:2891:8: branch_true: following ‘true’ branch...
vim91/src/clipboard.c:2893:34: branch_true: ...to here
vim91/src/clipboard.c:2896:12: branch_false: following ‘false’ branch...
vim91/src/clipboard.c:2900:13: branch_false: ...to here
vim91/src/clipboard.c:2901:13: release_memory: using NULL here
vim91/src/clipboard.c:2907:8: branch_false: following ‘false’ branch...
vim91/src/clipboard.c:2926:14: branch_false: ...to here
vim91/src/clipboard.c:2926:13: branch_false: following ‘false’ branch...
vim91/src/clipboard.c:2936:9: branch_false: ...to here
vim91/src/clipboard.c:2936:8: branch_true: following ‘true’ branch...
vim91/src/clipboard.c:2937:16: branch_true: ...to here
vim91/src/clipboard.c:2937:16: release_memory: using NULL here
vim91/src/clipboard.c:2937:16: danger: dereference of NULL ‘clip_wl.regular.manager’
# 2935|   #ifdef FEAT_WAYLAND_CLIPBOARD_FS
# 2936|       if (clip_wl.regular.available
# 2937|-> 	    && clip_wl.regular.manager->protocol == VWL_DATA_PROTOCOL_CORE
# 2938|   	    && clip_wl_focus_stealing_available())
# 2939|   	clip_wl.regular.requires_focus = true;

Error: COMPILER_WARNING: [#def2]
vim91/src/if_perlsfio.c: warning: -D_FORTIFY_SOURCE defined but value is too low

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
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-59.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namevim-9.1.1972-1.fc44
diffbase-store-results-to/tmp/tmporgaqkk_/vim-9.1.1972-1.fc44.tar.xz
diffbase-time-created2026-01-08 22:38:32
diffbase-time-finished2026-01-08 23:20:15
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmporgaqkk_/vim-9.1.1972-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmporgaqkk_/vim-9.1.1972-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-59.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-namevim-9.1.1818-1.fc43
store-results-to/tmp/tmpb7y1tjhb/vim-9.1.1818-1.fc43.tar.xz
time-created2026-01-08 21:55:44
time-finished2026-01-08 22:37:56
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpb7y1tjhb/vim-9.1.1818-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb7y1tjhb/vim-9.1.1818-1.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9