Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-786): [#def1]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -1, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def2]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -10, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def3]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -11, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def4]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -12, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def5]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -13, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def6]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -14, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def7]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -15, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def8]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -16, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def9]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -2, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def10]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -3, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def11]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -4, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def12]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -5, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def13]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -6, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def14]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -7, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def15]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -8, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-786): [#def16]
iproute2-7.0.0/lib/sha1.c:72: error[negativeIndex]: Array 'w[80]' accessed at index -9, which is out of bounds.
#   70|   		for (i = 0; i < 16; i++)
#   71|   			w[i] = ntohl(w[i]);
#   72|-> 		SHA1_20ROUNDS(0);
#   73|   		SHA1_20ROUNDS(20);
#   74|   		SHA1_20ROUNDS(40);

Error: CPPCHECK_WARNING (CWE-476): [#def17]
iproute2-7.0.0/lib/utils.c:1794: warning[nullPointer]: Possible null pointer dereference: msg
# 1792|   	}
# 1793|   
# 1794|-> 	fprintf(stderr, "Error: argument of \"%s\" must be one of ", msg);
# 1795|   	for (i = 0; i < len; i++)
# 1796|   		if (list[i])

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.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-12.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameiproute-6.17.0-2.fc44
diffbase-store-results-to/tmp/tmp9t92ui_2/iproute-6.17.0-2.fc44.tar.xz
diffbase-time-created2026-06-01 12:59:46
diffbase-time-finished2026-06-01 13:02:32
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp9t92ui_2/iproute-6.17.0-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9t92ui_2/iproute-6.17.0-2.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-12.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameiproute-7.0.0-1.fc45
store-results-to/tmp/tmpq212nzap/iproute-7.0.0-1.fc45.tar.xz
time-created2026-06-01 13:02:54
time-finished2026-06-01 13:05:14
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpq212nzap/iproute-7.0.0-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpq212nzap/iproute-7.0.0-1.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9