audiocd-kio-24.05.0-1.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
audiocd-kio-24.05.0-build/audiocd-kio-24.05.0/plugins/flac/encoderflac.cpp: scope_hint: In member function ‘read’
audiocd-kio-24.05.0-build/audiocd-kio-24.05.0/plugins/flac/encoderflac.cpp:188:45: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
#  188 |     auto buffer = new FLAC__int32[frames * 2];
#      |                                             ^
/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)
#      |                          ^
#  186|   {
#  187|       unsigned long olddata = d->data;
#  188|->     auto buffer = new FLAC__int32[frames * 2];
#  189|       for (int i = 0; i < frames * 2; i++) {
#  190|           buffer[i] = (FLAC__int32)buf[i];

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-184.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameaudiocd-kio-24.05.0-1.fc41
store-results-to/tmp/tmp4yuh_qhz/audiocd-kio-24.05.0-1.fc41.tar.xz
time-created2024-07-03 12:00:47
time-finished2024-07-03 12:02:26
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4yuh_qhz/audiocd-kio-24.05.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp4yuh_qhz/audiocd-kio-24.05.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9