Fixed defects

List of Defects

Error: CPPCHECK_WARNING (CWE-909): [#def1]
libqalculate-4.9.0-build/libqalculate-4.9.0/libqalculate/MathStructure-polynomial.cc:475: error[uninitStructMember]: Uninitialized struct member: d.max_lcnops
#  473|   	sym_desc d;
#  474|   	d.sym = mpoly;
#  475|-> 	v.push_back(d);
#  476|   }
#  477|   

Error: CPPCHECK_WARNING (CWE-457): [#def2]
libqalculate-4.9.0-build/libqalculate-4.9.0/libqalculate/MathStructure-polynomial.cc:475: error[uninitvar]: Uninitialized variable: d.max_lcnops
#  473|   	sym_desc d;
#  474|   	d.sym = mpoly;
#  475|-> 	v.push_back(d);
#  476|   }
#  477|   

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-116.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibqalculate-5.0.0-2.fc41
diffbase-store-results-to/tmp/tmp3fttn974/libqalculate-5.0.0-2.fc41.tar.xz
diffbase-time-created2024-07-03 15:55:44
diffbase-time-finished2024-07-03 16:00:24
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3fttn974/libqalculate-5.0.0-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp3fttn974/libqalculate-5.0.0-2.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-116.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibqalculate-4.9.0-4.fc40
store-results-to/tmp/tmp4ydaqou6/libqalculate-4.9.0-4.fc40.tar.xz
time-created2024-07-03 15:50:15
time-finished2024-07-03 15:55:23
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4ydaqou6/libqalculate-4.9.0-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp4ydaqou6/libqalculate-4.9.0-4.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9