kpipewire-6.2.3-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/encoder.cpp: scope_hint: In destructor ‘virtual Encoder::~Encoder()’
kpipewire-6.2.3-build/kpipewire-6.2.3/src/encoder.cpp:76:22: warning[-Wdeprecated-declarations]: ‘int avcodec_close(AVCodecContext*)’ is deprecated
#   76 |         avcodec_close(m_avCodecContext);
#      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
kpipewire-6.2.3-build/kpipewire-6.2.3/src/encoder_p.h:19: included_from: Included from here.
/usr/include/ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here
# 2387 | int avcodec_close(AVCodecContext *avctx);
#      |     ^~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
#   74|   
#   75|       if (m_avCodecContext) {
#   76|->         avcodec_close(m_avCodecContext);
#   77|           av_free(m_avCodecContext);
#   78|       }

Error: COMPILER_WARNING (CWE-909): [#def2]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/monitors/mediamonitor.cpp:50:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_proxy_events::bound_props’
#   48|       .version = PW_VERSION_PROXY_EVENTS,
#   49|       .destroy = &MediaMonitor::onProxyDestroy,
#   50|-> };
#   51|   
#   52|   pw_node_events MediaMonitor::s_pwNodeEvents = {

Error: COMPILER_WARNING (CWE-909): [#def3]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/monitors/mediamonitor.cpp:50:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_proxy_events::bound’
#   50 | };
#      | ^
#   48|       .version = PW_VERSION_PROXY_EVENTS,
#   49|       .destroy = &MediaMonitor::onProxyDestroy,
#   50|-> };
#   51|   
#   52|   pw_node_events MediaMonitor::s_pwNodeEvents = {

Error: COMPILER_WARNING (CWE-909): [#def4]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/monitors/mediamonitor.cpp:50:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_proxy_events::done’
#   48|       .version = PW_VERSION_PROXY_EVENTS,
#   49|       .destroy = &MediaMonitor::onProxyDestroy,
#   50|-> };
#   51|   
#   52|   pw_node_events MediaMonitor::s_pwNodeEvents = {

Error: COMPILER_WARNING (CWE-909): [#def5]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/monitors/mediamonitor.cpp:50:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_proxy_events::error’
#   48|       .version = PW_VERSION_PROXY_EVENTS,
#   49|       .destroy = &MediaMonitor::onProxyDestroy,
#   50|-> };
#   51|   
#   52|   pw_node_events MediaMonitor::s_pwNodeEvents = {

Error: COMPILER_WARNING (CWE-909): [#def6]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/monitors/mediamonitor.cpp:50:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_proxy_events::removed’
#   48|       .version = PW_VERSION_PROXY_EVENTS,
#   49|       .destroy = &MediaMonitor::onProxyDestroy,
#   50|-> };
#   51|   
#   52|   pw_node_events MediaMonitor::s_pwNodeEvents = {

Error: COMPILER_WARNING (CWE-909): [#def7]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/monitors/mediamonitor.cpp:55:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_node_events::param’
#   55 | };
#      | ^
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
#   53|       .version = PW_VERSION_NODE_EVENTS,
#   54|       .info = &MediaMonitor::onNodeEventInfo,
#   55|-> };
#   56|   
#   57|   MediaMonitor::MediaMonitor(QObject *parent)

Error: COMPILER_WARNING (CWE-909): [#def8]
kpipewire-6.2.3-build/kpipewire-6.2.3/src/pipewirecore.cpp:29:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘pw_core_events::bound_props’
#   29 | };
#      | ^
cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics
#   27|       .add_mem = nullptr,
#   28|       .remove_mem = nullptr,
#   29|-> };
#   30|   
#   31|   PipeWireCore::PipeWireCore()

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-115.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekpipewire-6.2.3-1.fc42
store-results-to/tmp/tmpiq642r3r/kpipewire-6.2.3-1.fc42.tar.xz
time-created2024-11-13 01:07:02
time-finished2024-11-13 01:09:41
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpiq642r3r/kpipewire-6.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpiq642r3r/kpipewire-6.2.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9