Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-404): [#def1]
libgpg-error-1.58/src/visibility.c:1329:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libgpg-error-1.58/src/visibility.c:1328:3: acquire_resource: 'va_start' called here
libgpg-error-1.58/src/visibility.c:1329:12: throw: if '_gpgrt_vfnameconcat' throws an exception...
libgpg-error-1.58/src/visibility.c:1329:12: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
# 1327|   
# 1328|     va_start (arg_ptr, first);
# 1329|->   result = _gpgrt_vfnameconcat (GPGRT_FCONCAT_TILDE, first, arg_ptr);
# 1330|     va_end (arg_ptr);
# 1331|     return result;

Error: GCC_ANALYZER_WARNING (CWE-404): [#def2]
libgpg-error-1.58/src/visibility.c:1341:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libgpg-error-1.58/src/visibility.c:1340:3: acquire_resource: 'va_start' called here
libgpg-error-1.58/src/visibility.c:1341:12: throw: if '_gpgrt_vfnameconcat' throws an exception...
libgpg-error-1.58/src/visibility.c:1341:12: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
# 1339|   
# 1340|     va_start (arg_ptr, first);
# 1341|->   result = _gpgrt_vfnameconcat (GPGRT_FCONCAT_TILDE|GPGRT_FCONCAT_ABS,
# 1342|                                   first, arg_ptr);
# 1343|     va_end (arg_ptr);

Error: GCC_ANALYZER_WARNING (CWE-404): [#def3]
libgpg-error-1.58/src/visibility.c:1354:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libgpg-error-1.58/src/visibility.c:1353:3: acquire_resource: 'va_start' called here
libgpg-error-1.58/src/visibility.c:1354:12: throw: if '_gpgrt_vfnameconcat' throws an exception...
libgpg-error-1.58/src/visibility.c:1354:12: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
# 1352|   
# 1353|     va_start (arg_ptr, first);
# 1354|->   result = _gpgrt_vfnameconcat (flags, first, arg_ptr);
# 1355|     va_end (arg_ptr);
# 1356|     return result;

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-32.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-namelibgpg-error-1.55-2.fc43
diffbase-store-results-to/tmp/tmpcij3boxx/libgpg-error-1.55-2.fc43.tar.xz
diffbase-time-created2026-01-08 18:43:00
diffbase-time-finished2026-01-08 18:45:44
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpcij3boxx/libgpg-error-1.55-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpcij3boxx/libgpg-error-1.55-2.fc43.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-32.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-namelibgpg-error-1.58-1.fc44
store-results-to/tmp/tmp2haxgqvf/libgpg-error-1.58-1.fc44.tar.xz
time-created2026-01-08 18:46:04
time-finished2026-01-08 18:48:21
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp2haxgqvf/libgpg-error-1.58-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp2haxgqvf/libgpg-error-1.58-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9