Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
json-c-0.18-build/json-c-json-c-0.18-20240915/json_tokener.c: scope_hint: In function ‘json_tokener_parse_ex’
json-c-0.18-build/json-c-json-c-0.18-20240915/json_tokener.c:1223:44: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*tok_730(D)->pb.buf)’
json-c-0.18-build/json-c-json-c-0.18-20240915/json_tokener.c:380:16: note: in expansion of macro ‘PEEK_CHAR’
json-c-0.18-build/json-c-json-c-0.18-20240915/json_tokener.c:380:16: note: in expansion of macro ‘PEEK_CHAR’
json-c-0.18-build/json-c-json-c-0.18-20240915/json_tokener.c:1220:41: note: in expansion of macro ‘printbuf_memappend_checked’
# 1221|   					                           str - case_start);
# 1222|   					obj_field_name = strdup(tok->pb->buf);
# 1223|-> 					if (obj_field_name == NULL)
# 1224|   					{
# 1225|   						tok->err = json_tokener_error_memory;

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-39.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namejson-c-0.17-4.fc41
diffbase-store-results-to/tmp/tmpbt4xwzgc/json-c-0.17-4.fc41.tar.xz
diffbase-time-created2024-11-13 00:26:26
diffbase-time-finished2024-11-13 00:28:16
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpbt4xwzgc/json-c-0.17-4.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpbt4xwzgc/json-c-0.17-4.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-39.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namejson-c-0.18-1.fc42
store-results-to/tmp/tmpc1zngh1m/json-c-0.18-1.fc42.tar.xz
time-created2024-11-13 00:28:29
time-finished2024-11-13 00:29:56
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpc1zngh1m/json-c-0.18-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpc1zngh1m/json-c-0.18-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9