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];
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-184.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | audiocd-kio-24.05.0-1.fc41 |
store-results-to | /tmp/tmp4yuh_qhz/audiocd-kio-24.05.0-1.fc41.tar.xz |
time-created | 2024-07-03 12:00:47 |
time-finished | 2024-07-03 12:02:26 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |