Fixed defects

List of Defects

Error: COMPILER_WARNING (CWE-704): [#def1]
librepo-1.17.0/librepo/xmlparser.c: scope_hint: In function ‘lr_xml_parser_generic’
librepo-1.17.0/librepo/xmlparser.c:177:33: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  175|   
#  176|           if (xmlParseChunk(ctxt, buf, len, len == 0)) {
#  177|->             xmlErrorPtr error = xmlCtxtGetLastError(ctxt);
#  178|               ret = FALSE;
#  179|   

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-129.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibrepo-1.17.1-1.fc41
diffbase-store-results-to/tmp/tmpcd091d1e/librepo-1.17.1-1.fc41.tar.xz
diffbase-time-created2024-04-22 11:03:38
diffbase-time-finished2024-04-22 11:05:08
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcd091d1e/librepo-1.17.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpcd091d1e/librepo-1.17.1-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-129.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibrepo-1.17.0-3.fc40
store-results-to/tmp/tmpbctstebe/librepo-1.17.0-3.fc40.tar.xz
time-created2024-04-22 11:00:03
time-finished2024-04-22 11:02:06
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpbctstebe/librepo-1.17.0-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpbctstebe/librepo-1.17.0-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9