Error: GCC_ANALYZER_WARNING (CWE-401): [#def1] pcaudiolib-1.1-build/pcaudiolib-1.1/src/alsa.c: scope_hint: In function 'create_alsa_object' pcaudiolib-1.1-build/pcaudiolib-1.1/src/alsa.c:264:16: warning[-Wanalyzer-malloc-leak]: leak of 'self' # 262| self->vtable.strerror = alsa_object_strerror; # 263| # 264|-> return &self->vtable; # 265| } # 266| Error: GCC_ANALYZER_WARNING (CWE-401): [#def2] pcaudiolib-1.1-build/pcaudiolib-1.1/src/oss.c: scope_hint: In function 'create_oss_object' pcaudiolib-1.1-build/pcaudiolib-1.1/src/oss.c:181:16: warning[-Wanalyzer-malloc-leak]: leak of 'self' # 179| self->vtable.strerror = oss_object_strerror; # 180| # 181|-> return &self->vtable; # 182| } # 183| Error: GCC_ANALYZER_WARNING (CWE-401): [#def3] pcaudiolib-1.1-build/pcaudiolib-1.1/src/pulseaudio.c: scope_hint: In function 'create_pulseaudio_object' pcaudiolib-1.1-build/pcaudiolib-1.1/src/pulseaudio.c:208:16: warning[-Wanalyzer-malloc-leak]: leak of 'self' # 206| self->vtable.strerror = pulseaudio_object_strerror; # 207| # 208|-> return &self->vtable; # 209| } # 210|
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-88.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | pcaudiolib-1.1-15.fc41 |
store-results-to | /tmp/tmpwwuwqd8a/pcaudiolib-1.1-15.fc41.tar.xz |
time-created | 2024-07-03 16:31:00 |
time-finished | 2024-07-03 16:31:56 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpwwuwqd8a/pcaudiolib-1.1-15.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpwwuwqd8a/pcaudiolib-1.1-15.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |