nghttp2-1.64.0-1.fc42

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
nghttp2-1.64.0-build/nghttp2-1.64.0/src/util.cc:583: error[containerOutOfBounds]: Out of bounds access in 'dp[2]', if 'dp' size is 2 and '2' is 2
#  581|         if (i >= 2 && j >= 2 && a[i - 1] != b[j - 1] && a[i - 2] == b[j - 1] &&
#  582|             a[i - 1] == b[j - 2]) {
#  583|->         dp[0][j] = std::min(dp[0][j], dp[2][j - 2] + swapcost);
#  584|         }
#  585|         dp[0][j] = std::min(dp[0][j],

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-102.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namenghttp2-1.64.0-1.fc42
store-results-to/tmp/tmpgf4o53v6/nghttp2-1.64.0-1.fc42.tar.xz
time-created2024-11-13 02:09:06
time-finished2024-11-13 02:12:17
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpgf4o53v6/nghttp2-1.64.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpgf4o53v6/nghttp2-1.64.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9