Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-704): [#def1]
libbytesize-2.11/src/bs_size.c: scope_hint: In function 'replace_str_with_str'
libbytesize-2.11/src/bs_size.c:184:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
#  182|       char *dest = NULL;
#  183|   
#  184|->     pos = strstr (str, orig);
#  185|       if (!pos)
#  186|           /* nothing to do, just return a copy */

Scan Properties

analyzer-version-clippy1.91.1
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.91.1
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.1
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-34.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-namelibbytesize-2.11-1.20251202093811822092.pr158.19.g4783f74
diffbase-store-results-to/tmp/tmpxzlmybf3/libbytesize-2.11-1.20251202093811822092.pr158.19.g4783f74.tar.xz
diffbase-time-created2025-12-02 09:47:58
diffbase-time-finished2025-12-02 09:49:10
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpxzlmybf3/libbytesize-2.11-1.20251202093811822092.pr158.19.g4783f74.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpxzlmybf3/libbytesize-2.11-1.20251202093811822092.pr158.19.g4783f74.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251124.152119.g92ed7a6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-34.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-namelibbytesize-2.11-99.20251124134427890232.main.16.gf02b813
store-results-to/tmp/tmpkozmcaky/libbytesize-2.11-99.20251124134427890232.main.16.gf02b813.tar.xz
time-created2025-12-02 09:45:55
time-finished2025-12-02 09:47:35
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpkozmcaky/libbytesize-2.11-99.20251124134427890232.main.16.gf02b813.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpkozmcaky/libbytesize-2.11-99.20251124134427890232.main.16.gf02b813.src.rpm'
tool-versioncsmock-3.8.3.20251124.152119.g92ed7a6-1.el9