Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1]
jansson-2.14-build/jansson-2.14/src/error.c: scope_hint: In function 'jsonp_error_set_source'
jansson-2.14-build/jansson-2.14/src/error.c:25:9: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
#   25 |         strncpy(error->source, source, length + 1);
#      |         ^
jansson-2.14-build/jansson-2.14/src/error.c:23:14: note: length computed here
#   23 |     length = strlen(source);
#      |              ^~~~~~~~~~~~~~
#   23|       length = strlen(source);
#   24|       if (length < JSON_ERROR_SOURCE_LENGTH)
#   25|->         strncpy(error->source, source, length + 1);
#   26|       else {
#   27|           size_t extra = length - JSON_ERROR_SOURCE_LENGTH + 4;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-14.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namejansson-2.13.1-10.fc41
diffbase-store-results-to/tmp/tmpgt_m_bk5/jansson-2.13.1-10.fc41.tar.xz
diffbase-time-created2024-11-13 00:36:44
diffbase-time-finished2024-11-13 00:38:18
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpgt_m_bk5/jansson-2.13.1-10.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpgt_m_bk5/jansson-2.13.1-10.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-14.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namejansson-2.14-1.fc42
store-results-to/tmp/tmpda589stx/jansson-2.14-1.fc42.tar.xz
time-created2024-11-13 00:38:26
time-finished2024-11-13 00:39:44
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpda589stx/jansson-2.14-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpda589stx/jansson-2.14-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9