audiocd-kio-24.08.3-1.fc42

List of Findings

Error: COMPILER_WARNING: [#def1]
audiocd-kio-24.08.3-build/audiocd-kio-24.08.3/plugins/flac/encoderflac.cpp: scope_hint: In member function ‘read’
audiocd-kio-24.08.3-build/audiocd-kio-24.08.3/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-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-237.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameaudiocd-kio-24.08.3-1.fc42
store-results-to/tmp/tmps3eg1l9q/audiocd-kio-24.08.3-1.fc42.tar.xz
time-created2024-11-12 23:12:34
time-finished2024-11-12 23:14:30
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmps3eg1l9q/audiocd-kio-24.08.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmps3eg1l9q/audiocd-kio-24.08.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9