audiocd-kio-25.04.0-1.fc43

List of Findings

Error: COMPILER_WARNING: [#def1]
audiocd-kio-25.04.0/plugins/flac/encoderflac.cpp: scope_hint: In member function ‘read’
audiocd-kio-25.04.0/plugins/flac/encoderflac.cpp:192:45: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
#  192 |     auto buffer = new FLAC__int32[frames * 2];
#      |                                             ^
/usr/include/c++/15/new:140:26: note: in a call to allocation function ‘operator new []’ declared here
#  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
#      |                          ^
#  190|   {
#  191|       unsigned long olddata = d->data;
#  192|->     auto buffer = new FLAC__int32[frames * 2];
#  193|       for (int i = 0; i < frames * 2; i++) {
#  194|           buffer[i] = (FLAC__int32)buf[i];

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-14.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameaudiocd-kio-25.04.0-1.fc43
store-results-to/tmp/tmpm2gadioe/audiocd-kio-25.04.0-1.fc43.tar.xz
time-created2025-04-25 12:03:18
time-finished2025-04-25 12:05:12
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpm2gadioe/audiocd-kio-25.04.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpm2gadioe/audiocd-kio-25.04.0-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9