Task #516 - imath-3.1.11-2.fc41/scan-results.err
back to task #516download
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathColor.h:458: warning[objectIndex]: The address of variable 'r' might be accessed at non-zero index.
# 456| Color4<T>::operator[] (int i) IMATH_NOEXCEPT
# 457| {
# 458|-> return (&r)[i];
# 459| }
# 460|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathColor.h:465: warning[objectIndex]: The address of variable 'r' might be accessed at non-zero index.
# 463| Color4<T>::operator[] (int i) const IMATH_NOEXCEPT
# 464| {
# 465|-> return (&r)[i];
# 466| }
# 467|
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathMatrixAlgo.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathShear.h:314: warning[objectIndex]: The address of variable 'xy' might be accessed at non-zero index.
# 312| Shear6<T>::operator[] (int i)
# 313| {
# 314|-> return (&xy)[i]; // NOSONAR - suppress SonarCloud bug report.
# 315| }
# 316|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathShear.h:321: warning[objectIndex]: The address of variable 'xy' might be accessed at non-zero index.
# 319| Shear6<T>::operator[] (int i) const
# 320| {
# 321|-> return (&xy)[i]; // NOSONAR - suppress SonarCloud bug report.
# 322| }
# 323|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathVec.h:969: warning[objectIndex]: The address of variable 'x' might be accessed at non-zero index.
# 967| Vec2<T>::operator[] (int i) IMATH_NOEXCEPT
# 968| {
# 969|-> return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
# 970| }
# 971|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathVec.h:976: warning[objectIndex]: The address of variable 'x' might be accessed at non-zero index.
# 974| Vec2<T>::operator[] (int i) const IMATH_NOEXCEPT
# 975| {
# 976|-> return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
# 977| }
# 978|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathVec.h:1373: warning[objectIndex]: The address of variable 'x' might be accessed at non-zero index.
# 1371| Vec3<T>::operator[] (int i) IMATH_NOEXCEPT
# 1372| {
# 1373|-> return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
# 1374| }
# 1375|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathVec.h:1380: warning[objectIndex]: The address of variable 'x' might be accessed at non-zero index.
# 1378| Vec3<T>::operator[] (int i) const IMATH_NOEXCEPT
# 1379| {
# 1380|-> return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
# 1381| }
# 1382|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathVec.h:1841: warning[objectIndex]: The address of variable 'x' might be accessed at non-zero index.
# 1839| Vec4<T>::operator[] (int i) IMATH_NOEXCEPT
# 1840| {
# 1841|-> return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
# 1842| }
# 1843|
Error: CPPCHECK_WARNING (CWE-758):
imath-3.1.11-build/Imath-3.1.11/src/Imath/ImathVec.h:1848: warning[objectIndex]: The address of variable 'x' might be accessed at non-zero index.
# 1846| Vec4<T>::operator[] (int i) const IMATH_NOEXCEPT
# 1847| {
# 1848|-> return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
# 1849| }
# 1850|
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/half_c_main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/main.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testBox.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testBoxAlgo.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testClassification.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testColor.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testError.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testExtractEuler.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testExtractSHRT.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testFrustum.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testFrustumTest.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testInterop.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testInvert.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testJacobiEigenSolver.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testLineAlgo.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testMatrix.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testMiscMatrixAlgo.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testNoInterop.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testProcrustes.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testQuat.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testQuatSetRotation.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testQuatSlerp.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testRandom.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testRoots.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/ImathTest/testTinySVD.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/python/PyImath/PyImathFixedVArray.cpp: scope_hint: In member function ‘__ct_base ’
imath-3.1.11-build/Imath-3.1.11/src/python/PyImath/PyImathFixedVArray.cpp:101:44: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 101 | boost::shared_array<std::vector<T> > a(new std::vector<T>[length]);
# | ^
/usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here
# 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
# | ^
# 99| }
# 100|
# 101|-> boost::shared_array<std::vector<T> > a(new std::vector<T>[length]);
# 102| // Initial vectors in the array will be zero-length.
# 103| _handle = a;
Error: COMPILER_WARNING:
imath-3.1.11-build/Imath-3.1.11/src/python/PyImath/PyImathFixedVArray.cpp: scope_hint: In member function ‘__ct_base ’
imath-3.1.11-build/Imath-3.1.11/src/python/PyImath/PyImathFixedVArray.cpp:117:44: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 117 | boost::shared_array<std::vector<T> > a(new std::vector<T>[length]);
# | ^
/usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here
# 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
# | ^
# 115| }
# 116|
# 117|-> boost::shared_array<std::vector<T> > a(new std::vector<T>[length]);
# 118| for (Py_ssize_t i = 0; i < length; ++i)
# 119| {