Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c
Examining data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c
Examining data/pipewire-0.3.15/pipewire-jack/examples/video-dsp-play.c
Examining data/pipewire-0.3.15/pipewire-jack/src/dummy.c
Examining data/pipewire-0.3.15/pipewire-jack/src/export.c
Examining data/pipewire-0.3.15/pipewire-jack/src/metadata.c
Examining data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack-extensions.h
Examining data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c
Examining data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c
Examining data/pipewire-0.3.15/pipewire-jack/src/statistics.c
Examining data/pipewire-0.3.15/pipewire-jack/src/uuid.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/bitset.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/bitset.h
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/channelmap.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/core-format.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/core-format.h
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/direction.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/error.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/ext-device-manager.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/ext-device-restore.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/ext-stream-restore.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/format.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/internal.h
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/json.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/json.h
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/mainloop-glib.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/mainloop-signal.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/mainloop.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/operation.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/pipewire-pulseaudio.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/proplist.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/rtclock.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/sample-util.h
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/sample.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/scache.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/simple.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/strbuf.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/strbuf.h
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/subscribe.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/thread-mainloop.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/timeval.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/utf8.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/version.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/volume.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/src/xmalloc.c
Examining data/pipewire-0.3.15/pipewire-pulseaudio/test/test-volume.c
Examining data/pipewire-0.3.15/spa/examples/adapter-control.c
Examining data/pipewire-0.3.15/spa/examples/example-control.c
Examining data/pipewire-0.3.15/spa/examples/local-libcamera.c
Examining data/pipewire-0.3.15/spa/examples/local-v4l2.c
Examining data/pipewire-0.3.15/spa/include/spa/buffer/alloc.h
Examining data/pipewire-0.3.15/spa/include/spa/buffer/buffer.h
Examining data/pipewire-0.3.15/spa/include/spa/buffer/meta.h
Examining data/pipewire-0.3.15/spa/include/spa/buffer/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/control/control.h
Examining data/pipewire-0.3.15/spa/include/spa/control/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/buffer.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/dict.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/format.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/mem.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/node.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/pod.h
Examining data/pipewire-0.3.15/spa/include/spa/debug/types.h
Examining data/pipewire-0.3.15/spa/include/spa/graph/graph.h
Examining data/pipewire-0.3.15/spa/include/spa/monitor/device.h
Examining data/pipewire-0.3.15/spa/include/spa/monitor/event.h
Examining data/pipewire-0.3.15/spa/include/spa/monitor/utils.h
Examining data/pipewire-0.3.15/spa/include/spa/node/command.h
Examining data/pipewire-0.3.15/spa/include/spa/node/event.h
Examining data/pipewire-0.3.15/spa/include/spa/node/io.h
Examining data/pipewire-0.3.15/spa/include/spa/node/keys.h
Examining data/pipewire-0.3.15/spa/include/spa/node/node.h
Examining data/pipewire-0.3.15/spa/include/spa/node/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/node/utils.h
Examining data/pipewire-0.3.15/spa/include/spa/param/audio/format-utils.h
Examining data/pipewire-0.3.15/spa/include/spa/param/audio/format.h
Examining data/pipewire-0.3.15/spa/include/spa/param/audio/layout.h
Examining data/pipewire-0.3.15/spa/include/spa/param/audio/raw.h
Examining data/pipewire-0.3.15/spa/include/spa/param/audio/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/param/format-utils.h
Examining data/pipewire-0.3.15/spa/include/spa/param/format.h
Examining data/pipewire-0.3.15/spa/include/spa/param/param.h
Examining data/pipewire-0.3.15/spa/include/spa/param/profiler.h
Examining data/pipewire-0.3.15/spa/include/spa/param/props.h
Examining data/pipewire-0.3.15/spa/include/spa/param/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/chroma.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/color.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/encoded.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/format-utils.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/format.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/multiview.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/raw.h
Examining data/pipewire-0.3.15/spa/include/spa/param/video/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/builder.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/command.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/compare.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/event.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/filter.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/iter.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/parser.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/pod.h
Examining data/pipewire-0.3.15/spa/include/spa/pod/vararg.h
Examining data/pipewire-0.3.15/spa/include/spa/support/cpu.h
Examining data/pipewire-0.3.15/spa/include/spa/support/dbus.h
Examining data/pipewire-0.3.15/spa/include/spa/support/log-impl.h
Examining data/pipewire-0.3.15/spa/include/spa/support/log.h
Examining data/pipewire-0.3.15/spa/include/spa/support/loop.h
Examining data/pipewire-0.3.15/spa/include/spa/support/plugin.h
Examining data/pipewire-0.3.15/spa/include/spa/support/system.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/defs.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/dict.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/hook.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/keys.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/list.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/names.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/result.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/ringbuffer.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/type-info.h
Examining data/pipewire-0.3.15/spa/include/spa/utils/type.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/acp.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/acp.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-ucm.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-ucm.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/array.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/card.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/channelmap.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/conf-parser.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/conf-parser.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/device-port.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/dynarray.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/hashmap.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/idxset.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/llist.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/proplist.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/acp/volume.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-device.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-sink.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-source.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq-source.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq.h
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c
Examining data/pipewire-0.3.15/spa/plugins/alsa/alsa.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/audioadapter.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/audioconvert.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/benchmark-fmt-ops.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/benchmark-resample.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix-ops-c.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix-ops-sse.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix-ops.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix-ops.h
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops-avx2.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops-c.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops-neon.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops-sse2.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops-sse41.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops-ssse3.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmt-ops.h
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/fmtconvert.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/merger.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-native-avx.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-native-impl.h
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-native-neon.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-native-sse.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-native-ssse3.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-native.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-peaks-impl.h
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-peaks-sse.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample-peaks.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/resample.h
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/spa-resample.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/splitter.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-audioadapter.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-audioconvert.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-channelmix.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-fmt-ops.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-helper.h
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-resample.c
Examining data/pipewire-0.3.15/spa/plugins/audioconvert/test-source.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/audiomixer.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-avx.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-c.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-sse.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-sse2.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops.h
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/mixer-dsp.c
Examining data/pipewire-0.3.15/spa/plugins/audiomixer/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/audiotestsrc/audiotestsrc.c
Examining data/pipewire-0.3.15/spa/plugins/audiotestsrc/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/audiotestsrc/render.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codec-aac.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codec-sbc.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codecs.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codecs.h
Examining data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-sink.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-source.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/backend-hsp-native.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/backend-hsphfpd.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/backend-ofono.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-dbus.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-device.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/defs.h
Examining data/pipewire-0.3.15/spa/plugins/bluez5/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/rtp.h
Examining data/pipewire-0.3.15/spa/plugins/bluez5/sco-sink.c
Examining data/pipewire-0.3.15/spa/plugins/bluez5/sco-source.c
Examining data/pipewire-0.3.15/spa/plugins/control/mixer.c
Examining data/pipewire-0.3.15/spa/plugins/control/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/ffmpeg/ffmpeg-dec.c
Examining data/pipewire-0.3.15/spa/plugins/ffmpeg/ffmpeg-enc.c
Examining data/pipewire-0.3.15/spa/plugins/ffmpeg/ffmpeg.c
Examining data/pipewire-0.3.15/spa/plugins/jack/jack-client.c
Examining data/pipewire-0.3.15/spa/plugins/jack/jack-client.h
Examining data/pipewire-0.3.15/spa/plugins/jack/jack-device.c
Examining data/pipewire-0.3.15/spa/plugins/jack/jack-sink.c
Examining data/pipewire-0.3.15/spa/plugins/jack/jack-source.c
Examining data/pipewire-0.3.15/spa/plugins/jack/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-client.c
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-device.c
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-utils.c
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera.c
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera.h
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.cpp
Examining data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.h
Examining data/pipewire-0.3.15/spa/plugins/support/cpu-arm.c
Examining data/pipewire-0.3.15/spa/plugins/support/cpu-x86.c
Examining data/pipewire-0.3.15/spa/plugins/support/cpu.c
Examining data/pipewire-0.3.15/spa/plugins/support/dbus.c
Examining data/pipewire-0.3.15/spa/plugins/support/evl-plugin.c
Examining data/pipewire-0.3.15/spa/plugins/support/evl-system.c
Examining data/pipewire-0.3.15/spa/plugins/support/logger.c
Examining data/pipewire-0.3.15/spa/plugins/support/loop.c
Examining data/pipewire-0.3.15/spa/plugins/support/node-driver.c
Examining data/pipewire-0.3.15/spa/plugins/support/null-audio-sink.c
Examining data/pipewire-0.3.15/spa/plugins/support/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/support/system.c
Examining data/pipewire-0.3.15/spa/plugins/test/fakesink.c
Examining data/pipewire-0.3.15/spa/plugins/test/fakesrc.c
Examining data/pipewire-0.3.15/spa/plugins/test/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-device.c
Examining data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-source.c
Examining data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-udev.c
Examining data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-utils.c
Examining data/pipewire-0.3.15/spa/plugins/v4l2/v4l2.c
Examining data/pipewire-0.3.15/spa/plugins/v4l2/v4l2.h
Examining data/pipewire-0.3.15/spa/plugins/videoconvert/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/videoconvert/videoadapter.c
Examining data/pipewire-0.3.15/spa/plugins/videotestsrc/draw.c
Examining data/pipewire-0.3.15/spa/plugins/videotestsrc/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/videotestsrc/videotestsrc.c
Examining data/pipewire-0.3.15/spa/plugins/volume/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/volume/volume.c
Examining data/pipewire-0.3.15/spa/plugins/vulkan/plugin.c
Examining data/pipewire-0.3.15/spa/plugins/vulkan/vulkan-compute-source.c
Examining data/pipewire-0.3.15/spa/plugins/vulkan/vulkan-utils.c
Examining data/pipewire-0.3.15/spa/plugins/vulkan/vulkan-utils.h
Examining data/pipewire-0.3.15/spa/tests/benchmark-dict.c
Examining data/pipewire-0.3.15/spa/tests/benchmark-pod.c
Examining data/pipewire-0.3.15/spa/tests/stress-ringbuffer.c
Examining data/pipewire-0.3.15/spa/tests/test-buffer.c
Examining data/pipewire-0.3.15/spa/tests/test-cpp.cpp
Examining data/pipewire-0.3.15/spa/tests/test-node.c
Examining data/pipewire-0.3.15/spa/tests/test-pod.c
Examining data/pipewire-0.3.15/spa/tests/test-utils.c
Examining data/pipewire-0.3.15/spa/tools/spa-inspect.c
Examining data/pipewire-0.3.15/spa/tools/spa-monitor.c
Examining data/pipewire-0.3.15/src/daemon/command.c
Examining data/pipewire-0.3.15/src/daemon/command.h
Examining data/pipewire-0.3.15/src/daemon/daemon-config.c
Examining data/pipewire-0.3.15/src/daemon/daemon-config.h
Examining data/pipewire-0.3.15/src/daemon/main.c
Examining data/pipewire-0.3.15/src/examples/audio-dsp-filter.c
Examining data/pipewire-0.3.15/src/examples/audio-dsp-src.c
Examining data/pipewire-0.3.15/src/examples/audio-src.c
Examining data/pipewire-0.3.15/src/examples/bluez-session.c
Examining data/pipewire-0.3.15/src/examples/export-sink.c
Examining data/pipewire-0.3.15/src/examples/export-source.c
Examining data/pipewire-0.3.15/src/examples/export-spa-device.c
Examining data/pipewire-0.3.15/src/examples/export-spa.c
Examining data/pipewire-0.3.15/src/examples/local-v4l2.c
Examining data/pipewire-0.3.15/src/examples/media-session/access-flatpak.c
Examining data/pipewire-0.3.15/src/examples/media-session/access-portal.c
Examining data/pipewire-0.3.15/src/examples/media-session/alsa-endpoint.c
Examining data/pipewire-0.3.15/src/examples/media-session/alsa-midi.c
Examining data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c
Examining data/pipewire-0.3.15/src/examples/media-session/bluez-endpoint.c
Examining data/pipewire-0.3.15/src/examples/media-session/bluez-monitor.c
Examining data/pipewire-0.3.15/src/examples/media-session/default-nodes.c
Examining data/pipewire-0.3.15/src/examples/media-session/default-profile.c
Examining data/pipewire-0.3.15/src/examples/media-session/default-routes.c
Examining data/pipewire-0.3.15/src/examples/media-session/libcamera-monitor.c
Examining data/pipewire-0.3.15/src/examples/media-session/media-session.c
Examining data/pipewire-0.3.15/src/examples/media-session/media-session.h
Examining data/pipewire-0.3.15/src/examples/media-session/metadata.c
Examining data/pipewire-0.3.15/src/examples/media-session/policy-ep.c
Examining data/pipewire-0.3.15/src/examples/media-session/policy-node.c
Examining data/pipewire-0.3.15/src/examples/media-session/pw-reserve.c
Examining data/pipewire-0.3.15/src/examples/media-session/reserve.c
Examining data/pipewire-0.3.15/src/examples/media-session/reserve.h
Examining data/pipewire-0.3.15/src/examples/media-session/restore-stream.c
Examining data/pipewire-0.3.15/src/examples/media-session/session-manager.c
Examining data/pipewire-0.3.15/src/examples/media-session/stream-endpoint.c
Examining data/pipewire-0.3.15/src/examples/media-session/suspend-node.c
Examining data/pipewire-0.3.15/src/examples/media-session/v4l2-endpoint.c
Examining data/pipewire-0.3.15/src/examples/media-session/v4l2-monitor.c
Examining data/pipewire-0.3.15/src/examples/sdl.h
Examining data/pipewire-0.3.15/src/examples/video-dsp-play.c
Examining data/pipewire-0.3.15/src/examples/video-play-reneg.c
Examining data/pipewire-0.3.15/src/examples/video-play.c
Examining data/pipewire-0.3.15/src/examples/video-src-alloc.c
Examining data/pipewire-0.3.15/src/examples/video-src-reneg.c
Examining data/pipewire-0.3.15/src/examples/video-src.c
Examining data/pipewire-0.3.15/src/extensions/client-node.h
Examining data/pipewire-0.3.15/src/extensions/metadata.h
Examining data/pipewire-0.3.15/src/extensions/profiler.h
Examining data/pipewire-0.3.15/src/extensions/protocol-native.h
Examining data/pipewire-0.3.15/src/extensions/session-manager.h
Examining data/pipewire-0.3.15/src/extensions/session-manager/impl-interfaces.h
Examining data/pipewire-0.3.15/src/extensions/session-manager/interfaces.h
Examining data/pipewire-0.3.15/src/extensions/session-manager/introspect-funcs.h
Examining data/pipewire-0.3.15/src/extensions/session-manager/introspect.h
Examining data/pipewire-0.3.15/src/extensions/session-manager/keys.h
Examining data/pipewire-0.3.15/src/gst/gstpipewire.c
Examining data/pipewire-0.3.15/src/gst/gstpipewireclock.c
Examining data/pipewire-0.3.15/src/gst/gstpipewireclock.h
Examining data/pipewire-0.3.15/src/gst/gstpipewirecore.c
Examining data/pipewire-0.3.15/src/gst/gstpipewirecore.h
Examining data/pipewire-0.3.15/src/gst/gstpipewiredeviceprovider.c
Examining data/pipewire-0.3.15/src/gst/gstpipewiredeviceprovider.h
Examining data/pipewire-0.3.15/src/gst/gstpipewireformat.c
Examining data/pipewire-0.3.15/src/gst/gstpipewireformat.h
Examining data/pipewire-0.3.15/src/gst/gstpipewirepool.c
Examining data/pipewire-0.3.15/src/gst/gstpipewirepool.h
Examining data/pipewire-0.3.15/src/gst/gstpipewiresink.c
Examining data/pipewire-0.3.15/src/gst/gstpipewiresink.h
Examining data/pipewire-0.3.15/src/gst/gstpipewiresrc.c
Examining data/pipewire-0.3.15/src/gst/gstpipewiresrc.h
Examining data/pipewire-0.3.15/src/modules/module-access.c
Examining data/pipewire-0.3.15/src/modules/module-adapter.c
Examining data/pipewire-0.3.15/src/modules/module-adapter/adapter.c
Examining data/pipewire-0.3.15/src/modules/module-adapter/adapter.h
Examining data/pipewire-0.3.15/src/modules/module-client-device.c
Examining data/pipewire-0.3.15/src/modules/module-client-device/client-device.h
Examining data/pipewire-0.3.15/src/modules/module-client-device/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-client-device/proxy-device.c
Examining data/pipewire-0.3.15/src/modules/module-client-device/resource-device.c
Examining data/pipewire-0.3.15/src/modules/module-client-node.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/client-node.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/client-node.h
Examining data/pipewire-0.3.15/src/modules/module-client-node/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/remote-node.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/v0/client-node.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/v0/client-node.h
Examining data/pipewire-0.3.15/src/modules/module-client-node/v0/ext-client-node.h
Examining data/pipewire-0.3.15/src/modules/module-client-node/v0/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/v0/transport.c
Examining data/pipewire-0.3.15/src/modules/module-client-node/v0/transport.h
Examining data/pipewire-0.3.15/src/modules/module-link-factory.c
Examining data/pipewire-0.3.15/src/modules/module-metadata.c
Examining data/pipewire-0.3.15/src/modules/module-metadata/metadata.c
Examining data/pipewire-0.3.15/src/modules/module-metadata/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-metadata/proxy-metadata.c
Examining data/pipewire-0.3.15/src/modules/module-portal.c
Examining data/pipewire-0.3.15/src/modules/module-profiler.c
Examining data/pipewire-0.3.15/src/modules/module-profiler/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/connection.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/defs.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/portal-screencast.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/test-connection.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/v0/interfaces.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/v0/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/v0/typemap.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-native/connection.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/collect.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/defs.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/format.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/manager.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/manager.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.h
Examining data/pipewire-0.3.15/src/modules/module-protocol-pulse/volume.c
Examining data/pipewire-0.3.15/src/modules/module-rtkit.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/client-endpoint.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/client-endpoint.h
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/endpoint-stream.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/endpoint-stream.h
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/endpoint.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/endpoint.h
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-session/client-session.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-session/client-session.h
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-session/endpoint-link.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-session/endpoint-link.h
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-session/session.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/client-session/session.h
Examining data/pipewire-0.3.15/src/modules/module-session-manager/endpoint-link.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/endpoint-stream.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/endpoint.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/protocol-native.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/proxy-session-manager.c
Examining data/pipewire-0.3.15/src/modules/module-session-manager/session.c
Examining data/pipewire-0.3.15/src/modules/spa/module-device-factory.c
Examining data/pipewire-0.3.15/src/modules/spa/module-device.c
Examining data/pipewire-0.3.15/src/modules/spa/module-node-factory.c
Examining data/pipewire-0.3.15/src/modules/spa/module-node.c
Examining data/pipewire-0.3.15/src/modules/spa/spa-device.c
Examining data/pipewire-0.3.15/src/modules/spa/spa-device.h
Examining data/pipewire-0.3.15/src/modules/spa/spa-node.c
Examining data/pipewire-0.3.15/src/modules/spa/spa-node.h
Examining data/pipewire-0.3.15/src/pipewire/array.h
Examining data/pipewire-0.3.15/src/pipewire/buffers.c
Examining data/pipewire-0.3.15/src/pipewire/buffers.h
Examining data/pipewire-0.3.15/src/pipewire/client.h
Examining data/pipewire-0.3.15/src/pipewire/context.c
Examining data/pipewire-0.3.15/src/pipewire/context.h
Examining data/pipewire-0.3.15/src/pipewire/control.c
Examining data/pipewire-0.3.15/src/pipewire/control.h
Examining data/pipewire-0.3.15/src/pipewire/core.c
Examining data/pipewire-0.3.15/src/pipewire/core.h
Examining data/pipewire-0.3.15/src/pipewire/data-loop.c
Examining data/pipewire-0.3.15/src/pipewire/data-loop.h
Examining data/pipewire-0.3.15/src/pipewire/device.h
Examining data/pipewire-0.3.15/src/pipewire/factory.h
Examining data/pipewire-0.3.15/src/pipewire/filter.c
Examining data/pipewire-0.3.15/src/pipewire/filter.h
Examining data/pipewire-0.3.15/src/pipewire/global.c
Examining data/pipewire-0.3.15/src/pipewire/global.h
Examining data/pipewire-0.3.15/src/pipewire/impl-client.c
Examining data/pipewire-0.3.15/src/pipewire/impl-client.h
Examining data/pipewire-0.3.15/src/pipewire/impl-core.c
Examining data/pipewire-0.3.15/src/pipewire/impl-core.h
Examining data/pipewire-0.3.15/src/pipewire/impl-device.c
Examining data/pipewire-0.3.15/src/pipewire/impl-device.h
Examining data/pipewire-0.3.15/src/pipewire/impl-factory.c
Examining data/pipewire-0.3.15/src/pipewire/impl-factory.h
Examining data/pipewire-0.3.15/src/pipewire/impl-link.c
Examining data/pipewire-0.3.15/src/pipewire/impl-link.h
Examining data/pipewire-0.3.15/src/pipewire/impl-module.c
Examining data/pipewire-0.3.15/src/pipewire/impl-module.h
Examining data/pipewire-0.3.15/src/pipewire/impl-node.c
Examining data/pipewire-0.3.15/src/pipewire/impl-node.h
Examining data/pipewire-0.3.15/src/pipewire/impl-port.c
Examining data/pipewire-0.3.15/src/pipewire/impl-port.h
Examining data/pipewire-0.3.15/src/pipewire/impl.h
Examining data/pipewire-0.3.15/src/pipewire/introspect.c
Examining data/pipewire-0.3.15/src/pipewire/keys.h
Examining data/pipewire-0.3.15/src/pipewire/link.h
Examining data/pipewire-0.3.15/src/pipewire/log.c
Examining data/pipewire-0.3.15/src/pipewire/log.h
Examining data/pipewire-0.3.15/src/pipewire/loop.c
Examining data/pipewire-0.3.15/src/pipewire/loop.h
Examining data/pipewire-0.3.15/src/pipewire/main-loop.c
Examining data/pipewire-0.3.15/src/pipewire/main-loop.h
Examining data/pipewire-0.3.15/src/pipewire/map.h
Examining data/pipewire-0.3.15/src/pipewire/mem.c
Examining data/pipewire-0.3.15/src/pipewire/mem.h
Examining data/pipewire-0.3.15/src/pipewire/module.h
Examining data/pipewire-0.3.15/src/pipewire/node.h
Examining data/pipewire-0.3.15/src/pipewire/permission.h
Examining data/pipewire-0.3.15/src/pipewire/pipewire.c
Examining data/pipewire-0.3.15/src/pipewire/pipewire.h
Examining data/pipewire-0.3.15/src/pipewire/port.h
Examining data/pipewire-0.3.15/src/pipewire/private.h
Examining data/pipewire-0.3.15/src/pipewire/properties.c
Examining data/pipewire-0.3.15/src/pipewire/properties.h
Examining data/pipewire-0.3.15/src/pipewire/protocol.c
Examining data/pipewire-0.3.15/src/pipewire/protocol.h
Examining data/pipewire-0.3.15/src/pipewire/proxy.c
Examining data/pipewire-0.3.15/src/pipewire/proxy.h
Examining data/pipewire-0.3.15/src/pipewire/resource.c
Examining data/pipewire-0.3.15/src/pipewire/resource.h
Examining data/pipewire-0.3.15/src/pipewire/stream.c
Examining data/pipewire-0.3.15/src/pipewire/stream.h
Examining data/pipewire-0.3.15/src/pipewire/thread-loop.c
Examining data/pipewire-0.3.15/src/pipewire/thread-loop.h
Examining data/pipewire-0.3.15/src/pipewire/type.h
Examining data/pipewire-0.3.15/src/pipewire/utils.c
Examining data/pipewire-0.3.15/src/pipewire/utils.h
Examining data/pipewire-0.3.15/src/pipewire/work-queue.c
Examining data/pipewire-0.3.15/src/pipewire/work-queue.h
Examining data/pipewire-0.3.15/src/tests/test-array.c
Examining data/pipewire-0.3.15/src/tests/test-client.c
Examining data/pipewire-0.3.15/src/tests/test-context.c
Examining data/pipewire-0.3.15/src/tests/test-cpp.cpp
Examining data/pipewire-0.3.15/src/tests/test-endpoint.c
Examining data/pipewire-0.3.15/src/tests/test-interfaces.c
Examining data/pipewire-0.3.15/src/tests/test-properties.c
Examining data/pipewire-0.3.15/src/tests/test-stream.c
Examining data/pipewire-0.3.15/src/tests/test-utils.c
Examining data/pipewire-0.3.15/src/tools/midifile.c
Examining data/pipewire-0.3.15/src/tools/midifile.h
Examining data/pipewire-0.3.15/src/tools/pw-cat.c
Examining data/pipewire-0.3.15/src/tools/pw-cli.c
Examining data/pipewire-0.3.15/src/tools/pw-dot.c
Examining data/pipewire-0.3.15/src/tools/pw-metadata.c
Examining data/pipewire-0.3.15/src/tools/pw-mididump.c
Examining data/pipewire-0.3.15/src/tools/pw-mon.c
Examining data/pipewire-0.3.15/src/tools/pw-profiler.c

FINAL RESULTS:

data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:570:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
        if ((n = readlink(p, c, l-1)) < 0) {
data/pipewire-0.3.15/src/pipewire/pipewire.c:478:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		if ((len = readlink("/proc/self/exe", prgname, sizeof(prgname)-1)) > 0)
data/pipewire-0.3.15/src/pipewire/pipewire.c:486:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		if ((len = readlink("/proc/curproc/file", prgname, sizeof(prgname)-1)) > 0)
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:47:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:180:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_eventfd_write(ctl->system, ctl->fd, 1);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:187:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_eventfd_read(ctl->system, ctl->fd, &val);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:727:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_close(ctl->system, ctl->fd);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1251:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	ctl->system = loop->system;
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1252:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	ctl->fd = spa_system_eventfd_create(ctl->system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:77:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:101:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_eventfd_read(pw->system, io->poll_fd, &val);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:107:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			spa_system_eventfd_read(pw->system, io->poll_fd, &val);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:117:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_eventfd_write(pw->system, pw->fd, 1);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:132:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_close(pw->system, pw->fd);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:554:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	switch(io->access) {
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:564:48:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		SNDERR("PipeWire: invalid access: %d\n", io->access);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:919:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	pw->system = loop->system;
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:944:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	pw->fd = spa_system_eventfd_create(pw->system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
data/pipewire-0.3.15/pipewire-jack/src/uuid.c:92:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if (sscanf (buf, "%" PRIu64, id) == 1) {
data/pipewire-0.3.15/pipewire-jack/src/uuid.c:106:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf (buf, JACK_UUID_STRING_SIZE, "%" PRIu64, id);
data/pipewire-0.3.15/pipewire-pulseaudio/src/internal.h:117:22:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define pa_snprintf		snprintf
data/pipewire-0.3.15/pipewire-pulseaudio/src/strbuf.c:172:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        r = vsnprintf(CHUNK_TO_TEXT(c), size, format, ap);
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:144:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				snprintf(buf, sizeof(buf)-1, "%"PRIu64, num * PA_MSEC_PER_SEC / denom);
data/pipewire-0.3.15/spa/examples/adapter-control.c:67:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/spa/examples/adapter-control.c:177:87:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	data->support[data->n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_System, data->system);
data/pipewire-0.3.15/spa/examples/adapter-control.c:178:91:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	data->support[data->n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_DataSystem, data->system);
data/pipewire-0.3.15/spa/examples/example-control.c:70:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/spa/examples/example-control.c:502:87:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	data->support[data->n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_System, data->system);
data/pipewire-0.3.15/spa/examples/example-control.c:503:91:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	data->support[data->n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_DataSystem, data->system);
data/pipewire-0.3.15/spa/examples/local-libcamera.c:76:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/spa/examples/local-libcamera.c:498:84:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	data.support[data.n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_System, data.system);
data/pipewire-0.3.15/spa/examples/local-v4l2.c:68:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/spa/examples/local-v4l2.c:489:84:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	data.support[data.n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_System, data.system);
data/pipewire-0.3.15/spa/include/spa/debug/buffer.h:37:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define spa_debug(...)	({ fprintf(stderr, __VA_ARGS__);fputc('\n', stderr); })
data/pipewire-0.3.15/spa/include/spa/debug/dict.h:35:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define spa_debug(...)	({ fprintf(stderr, __VA_ARGS__);fputc('\n', stderr); })
data/pipewire-0.3.15/spa/include/spa/debug/format.h:60:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, "%" PRIi64, *(int64_t *) body);
data/pipewire-0.3.15/spa/include/spa/debug/format.h:74:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, "%" PRIu32 "x%" PRIu32, r->width, r->height);
data/pipewire-0.3.15/spa/include/spa/debug/format.h:80:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, "%" PRIu32 "/%" PRIu32, f->num, f->denom);
data/pipewire-0.3.15/spa/include/spa/debug/mem.h:35:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define spa_debug(...)	({ fprintf(stderr, __VA_ARGS__);fputc('\n', stderr); })
data/pipewire-0.3.15/spa/include/spa/debug/node.h:36:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define spa_debug(...)	({ fprintf(stderr, __VA_ARGS__);fputc('\n', stderr); })
data/pipewire-0.3.15/spa/include/spa/debug/pod.h:38:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define spa_debug(...)	({ fprintf(stderr, __VA_ARGS__);fputc('\n', stderr); })
data/pipewire-0.3.15/spa/include/spa/support/log-impl.h:48:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(text, sizeof(text), fmt, args);
data/pipewire-0.3.15/spa/include/spa/utils/defs.h:165:58:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define SPA_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:149:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, arg);
data/pipewire-0.3.15/spa/plugins/alsa/acp/acp.h:40:58:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define ACP_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:119:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, src + 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:127:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, src);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:47:57:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PA_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:283:21:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define pa_snprintf	snprintf
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c:141:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c:906:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_close(this->system, port->source.fd);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-utils.c:637:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (spa_system_eventfd_read(this->system, port->source.fd, &cnt) < 0) {
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-utils.c:855:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	port->source.fd = spa_system_eventfd_create(this->system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-utils.c:864:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		libcamera_set_spa_system(dev->camera, this->system);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.cpp:618:70:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	void libcamera_set_spa_system(LibCamera *camera, struct spa_system *system) {
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.cpp:619:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		camera->system_ = system;
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.h:123:69:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void libcamera_set_spa_system(LibCamera *camera, struct spa_system *system);
data/pipewire-0.3.15/spa/plugins/support/evl-system.c:57:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system system;
data/pipewire-0.3.15/spa/plugins/support/evl-system.c:376:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		*interface = &impl->system;
data/pipewire-0.3.15/spa/plugins/support/evl-system.c:413:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	impl->system.iface = SPA_INTERFACE_INIT(
data/pipewire-0.3.15/spa/plugins/support/logger.c:56:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/spa/plugins/support/logger.c:115:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	size += vsnprintf(p + size, len - size, fmt, args);
data/pipewire-0.3.15/spa/plugins/support/logger.c:128:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (spa_system_eventfd_write(impl->system, impl->source.fd, 1) < 0)
data/pipewire-0.3.15/spa/plugins/support/logger.c:157:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (spa_system_eventfd_read(impl->system, source->fd, &count) < 0)
data/pipewire-0.3.15/spa/plugins/support/logger.c:212:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_close(this->system, this->source.fd);
data/pipewire-0.3.15/spa/plugins/support/logger.c:253:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (loop != NULL && this->system != NULL) {
data/pipewire-0.3.15/spa/plugins/support/logger.c:256:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		this->source.fd = spa_system_eventfd_create(this->system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
data/pipewire-0.3.15/spa/plugins/support/loop.c:69:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        struct spa_system *system;
data/pipewire-0.3.15/spa/plugins/support/loop.c:110:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	return spa_system_pollfd_add(impl->system, impl->poll_fd, source->fd, source->mask, source);
data/pipewire-0.3.15/spa/plugins/support/loop.c:116:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	return spa_system_pollfd_mod(impl->system, impl->poll_fd, source->fd, source->mask, source);
data/pipewire-0.3.15/spa/plugins/support/loop.c:123:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	return spa_system_pollfd_del(impl->system, impl->poll_fd, source->fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:146:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if ((res = spa_system_eventfd_write(impl->system, impl->ack_fd, 1)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:218:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if ((res = spa_system_eventfd_read(impl->system, impl->ack_fd, &count)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:289:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	nfds = spa_system_pollfd_wait(impl->system, impl->poll_fd, ep, SPA_N_ELEMENTS(ep), timeout);
data/pipewire-0.3.15/spa/plugins/support/loop.c:396:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if ((res = spa_system_eventfd_write(impl->impl->system, source->fd, 1)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:401:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if ((res = spa_system_eventfd_read(impl->impl->system, source->fd, &count)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:420:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_eventfd_create(impl->system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:443:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, source->source.fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:457:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_eventfd_read(impl->impl->system, source->fd, &count)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:475:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_eventfd_create(impl->system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:495:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, source->source.fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:508:63:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (SPA_UNLIKELY((res = spa_system_eventfd_write(impl->impl->system, source->fd, 1)) < 0))
data/pipewire-0.3.15/spa/plugins/support/loop.c:520:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (SPA_UNLIKELY((res = spa_system_timerfd_read(impl->impl->system,
data/pipewire-0.3.15/spa/plugins/support/loop.c:539:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_timerfd_create(impl->system, CLOCK_MONOTONIC,
data/pipewire-0.3.15/spa/plugins/support/loop.c:560:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, source->source.fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:588:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (SPA_UNLIKELY((res = spa_system_timerfd_settime(impl->system, source->fd, flags, &its, NULL)) < 0))
data/pipewire-0.3.15/spa/plugins/support/loop.c:599:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_signalfd_read(impl->impl->system, source->fd, &signal_number)) < 0)
data/pipewire-0.3.15/spa/plugins/support/loop.c:618:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_signalfd_create(impl->system,
data/pipewire-0.3.15/spa/plugins/support/loop.c:639:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, source->source.fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:661:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_close(impl->impl->system, source->fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:733:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, impl->ack_fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:734:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, impl->poll_fd);
data/pipewire-0.3.15/spa/plugins/support/loop.c:785:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_pollfd_create(impl->system, SPA_FD_CLOEXEC)) < 0) {
data/pipewire-0.3.15/spa/plugins/support/loop.c:804:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((res = spa_system_eventfd_create(impl->system,
data/pipewire-0.3.15/spa/plugins/support/loop.c:819:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_close(impl->system, impl->poll_fd);
data/pipewire-0.3.15/spa/plugins/support/system.c:51:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system system;
data/pipewire-0.3.15/spa/plugins/support/system.c:305:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		*interface = &impl->system;
data/pipewire-0.3.15/spa/plugins/support/system.c:341:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	impl->system.iface = SPA_INTERFACE_INIT(
data/pipewire-0.3.15/src/daemon/command.c:336:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		res = execvp(command->args[1], &command->args[1]);
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1865:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp_name, "%s.tmp", name);
data/pipewire-0.3.15/src/modules/module-access.c:132:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	const char *str, *access;
data/pipewire-0.3.15/src/modules/module-access.c:211:70:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	pw_log_info(NAME" %p: client %p '%s' access granted", impl, client, access);
data/pipewire-0.3.15/src/modules/module-access.c:212:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	items[0] = SPA_DICT_ITEM_INIT(PW_KEY_ACCESS, access);
data/pipewire-0.3.15/src/modules/module-access.c:221:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			impl, client, access);
data/pipewire-0.3.15/src/modules/module-access.c:222:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	items[0] = SPA_DICT_ITEM_INIT(PW_KEY_ACCESS, access);
data/pipewire-0.3.15/src/modules/module-access.c:227:67:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	pw_resource_error(pw_impl_client_get_core_resource(client), res, access);
data/pipewire-0.3.15/src/modules/module-access.c:228:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	items[0] = SPA_DICT_ITEM_INIT(PW_KEY_ACCESS, access);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/manager.c:591:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, sizeof(buf)-1, format, args);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c:422:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(SPA_MEMBER(m->data, m->length, char), s);
data/pipewire-0.3.15/src/modules/module-rtkit.c:66:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/src/modules/module-rtkit.c:440:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		spa_system_close(impl->system, impl->source.fd);
data/pipewire-0.3.15/src/modules/module-rtkit.c:462:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_eventfd_read(impl->system, impl->source.fd, &count);
data/pipewire-0.3.15/src/modules/module-rtkit.c:529:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;
data/pipewire-0.3.15/src/modules/module-rtkit.c:552:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	impl->system = system;
data/pipewire-0.3.15/src/modules/module-rtkit.c:566:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	impl->source.fd = spa_system_eventfd_create(system, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
data/pipewire-0.3.15/src/modules/module-rtkit.c:574:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	spa_system_eventfd_write(system, impl->source.fd, 1);
data/pipewire-0.3.15/src/pipewire/context.c:250:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	this->data_system = this->data_loop->system;
data/pipewire-0.3.15/src/pipewire/context.c:254:92:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	this->support[n_support++] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_System, this->main_loop->system);
data/pipewire-0.3.15/src/pipewire/context.c:619:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf((char*)buffer, sizeof(buffer), debug, args);
data/pipewire-0.3.15/src/pipewire/core.h:329:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buffer, sizeof(buffer), message, args);
data/pipewire-0.3.15/src/pipewire/loop.h:42:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	struct spa_system *system;		/**< system utils */
data/pipewire-0.3.15/src/pipewire/private.h:239:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buffer, sizeof(buffer), message, args);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1211:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	str = getenv("PIPEWIRE_REMOTE");
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:401:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("PIPEWIRE_PROPS")) != NULL)
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:881:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	str = getenv("PIPEWIRE_REMOTE");
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/pcm_pipewire.c:885:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	str = getenv("PIPEWIRE_NODE");
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2372:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("PIPEWIRE_NOJACK") != NULL)
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2460:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if ((str = getenv("PIPEWIRE_PROPS")) != NULL)
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2478:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    (str = getenv("PIPEWIRE_LATENCY")) != NULL)
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2554:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("JACK_START_SERVER") == NULL)
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:3899:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("PIPEWIRE_LINK_PASSIVE")) != NULL &&
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:4172:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("PIPEWIRE_NODE")) != NULL)
data/pipewire-0.3.15/pipewire-pulseaudio/src/mainloop.c:270:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("PULSE_INTERNAL"))
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:138:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	e = getenv("PULSE_LATENCY_MSEC");
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:140:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		str = getenv("PIPEWIRE_LATENCY");
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:959:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		dev = getenv("PIPEWIRE_NODE");
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:56:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	home = getenv("HOME");
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:58:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		home = getenv("USERPROFILE");
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:76:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	runtime = getenv("PULSE_RUNTIME_PATH");
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:78:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime = getenv("XDG_RUNTIME_DIR");
data/pipewire-0.3.15/spa/examples/adapter-control.c:156:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
data/pipewire-0.3.15/spa/examples/adapter-control.c:199:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_DEBUG")))
data/pipewire-0.3.15/spa/examples/example-control.c:481:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
data/pipewire-0.3.15/spa/examples/example-control.c:524:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_DEBUG")))
data/pipewire-0.3.15/spa/examples/local-libcamera.c:484:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
data/pipewire-0.3.15/spa/examples/local-libcamera.c:520:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_DEBUG")))
data/pipewire-0.3.15/spa/examples/local-v4l2.c:475:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
data/pipewire-0.3.15/spa/examples/local-v4l2.c:511:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_DEBUG")))
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:699:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, OPTIONS, long_options, &longopt_index)) != -1) {
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2776:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("ACP_BUILDDIR") != NULL)
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2778:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((str = getenv("ACP_PATHS_DIR")) != NULL)
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:4779:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("ACP_BUILDDIR") != NULL)
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:4781:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((str = getenv("ACP_PROFILES_DIR")) != NULL)
data/pipewire-0.3.15/spa/plugins/audioconvert/spa-resample.c:229:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, OPTIONS, long_options, &longopt_index)) != -1) {
data/pipewire-0.3.15/spa/plugins/audioconvert/test-helper.h:40:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
data/pipewire-0.3.15/spa/tests/benchmark-dict.c:48:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			idx = random() % sizeof(chars);
data/pipewire-0.3.15/spa/tests/benchmark-dict.c:51:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		idx = random() % 16;
data/pipewire-0.3.15/spa/tests/benchmark-dict.c:61:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		idx = random() % MAX_ITEMS;
data/pipewire-0.3.15/spa/tests/benchmark-dict.c:75:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		idx = random() % dict->n_items;
data/pipewire-0.3.15/spa/tools/spa-inspect.c:284:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_DEBUG")))
data/pipewire-0.3.15/src/daemon/daemon-config.c:175:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	filename = getenv("PIPEWIRE_CONFIG_FILE");
data/pipewire-0.3.15/src/daemon/main.c:71:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	daemon_name = getenv("PIPEWIRE_CORE");
data/pipewire-0.3.15/src/daemon/main.c:75:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVn:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1773:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	home_dir = getenv("XDG_CONFIG_HOME");
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1778:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		home_dir = getenv("HOME");
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1780:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			home_dir = getenv("USERPROFILE");
data/pipewire-0.3.15/src/examples/media-session/media-session.c:2160:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVe:d:p:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/examples/media-session/pw-reserve.c:125:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVn:a:p:m", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/modules/module-protocol-native.c:450:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	runtime_dir = getenv("PIPEWIRE_RUNTIME_DIR");
data/pipewire-0.3.15/src/modules/module-protocol-native.c:452:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("XDG_RUNTIME_DIR");
data/pipewire-0.3.15/src/modules/module-protocol-native.c:454:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("HOME");
data/pipewire-0.3.15/src/modules/module-protocol-native.c:456:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("USERPROFILE");
data/pipewire-0.3.15/src/modules/module-protocol-native.c:1035:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		name = getenv("PIPEWIRE_CORE");
data/pipewire-0.3.15/src/modules/module-protocol-native.c:1198:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		val = getenv("PIPEWIRE_DAEMON");
data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c:54:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		name = getenv("PIPEWIRE_REMOTE");
data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c:65:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	runtime_dir = getenv("PIPEWIRE_RUNTIME_DIR");
data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c:67:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("XDG_RUNTIME_DIR");
data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c:69:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("HOME");
data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c:71:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("USERPROFILE");
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4162:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	runtime_dir = getenv("PULSE_RUNTIME_PATH");
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4164:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("XDG_RUNTIME_DIR");
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4166:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		runtime_dir = getenv("HOME");
data/pipewire-0.3.15/src/modules/module-rtkit.c:131:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("DISABLE_RTKIT")) {
data/pipewire-0.3.15/src/pipewire/context.c:114:54:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		pw_properties_set(properties, PW_KEY_APP_LANGUAGE, getenv("LANG"));
data/pipewire-0.3.15/src/pipewire/context.c:127:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				  getenv("XDG_SESSION_ID"));
data/pipewire-0.3.15/src/pipewire/context.c:131:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				  getenv("DISPLAY"));
data/pipewire-0.3.15/src/pipewire/context.c:318:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		str = getenv("PIPEWIRE_PROFILE_MODULES");
data/pipewire-0.3.15/src/pipewire/filter.c:979:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((str = getenv("PIPEWIRE_LATENCY")) != NULL)
data/pipewire-0.3.15/src/pipewire/impl-core.c:400:2:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srandom(time(NULL));
data/pipewire-0.3.15/src/pipewire/impl-core.c:401:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	this->info.cookie = random();
data/pipewire-0.3.15/src/pipewire/impl-module.c:169:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	module_dir = getenv("PIPEWIRE_MODULE_DIR");
data/pipewire-0.3.15/src/pipewire/pipewire.c:369:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("VALGRIND")))
data/pipewire-0.3.15/src/pipewire/pipewire.c:372:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("PIPEWIRE_DEBUG")))
data/pipewire-0.3.15/src/pipewire/pipewire.c:375:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_PLUGIN_DIR")) == NULL)
data/pipewire-0.3.15/src/pipewire/pipewire.c:379:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("SPA_SUPPORT_LIB")) == NULL)
data/pipewire-0.3.15/src/pipewire/pipewire.c:393:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((str = getenv("PIPEWIRE_LOG")) != NULL)
data/pipewire-0.3.15/src/pipewire/pipewire.c:406:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((str = getenv("PIPEWIRE_CPU")))
data/pipewire-0.3.15/src/pipewire/stream.c:1152:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((str = getenv("PIPEWIRE_LATENCY")) != NULL)
data/pipewire-0.3.15/src/pipewire/stream.c:1500:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	else if ((str = getenv("PIPEWIRE_NODE")) != NULL)
data/pipewire-0.3.15/src/tools/pw-cat.c:1347:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hvprmR:q:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/tools/pw-cli.c:2794:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVdr:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/tools/pw-dot.c:781:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVasdr:o:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/tools/pw-metadata.c:192:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVr:md", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/tools/pw-mididump.c:197:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVr:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/tools/pw-mon.c:707:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVr:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/src/tools/pw-profiler.c:568:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "hVr:o:", long_options, NULL)) != -1) {
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:486:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:897:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		g->node.profile_device_id = atoi(str);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:902:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		g->node.device_id = atoi(str);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:907:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		g->node.priority = atoi(str);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:973:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		uint32_t val = (key && value) ? (uint32_t)atoi(value) : 0;
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1225:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		ctl->source = atoi(source);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1227:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		ctl->source = atoi(device);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1235:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		ctl->sink = atoi(sink);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1237:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		ctl->sink = atoi(device);
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:110:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char name[JACK_CLIENT_NAME_SIZE+1];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:120:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char name[REAL_JACK_PORT_NAME_SIZE+1];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:121:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char alias1[REAL_JACK_PORT_NAME_SIZE+1];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:122:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char alias2[REAL_JACK_PORT_NAME_SIZE+1];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:245:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[JACK_CLIENT_NAME_SIZE+1];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:634:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char name[1024];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:878:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(ptr, p->emptyptr, frames * sizeof(float));
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:1760:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(d, &buf->datas[j], sizeof(struct spa_data));
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2030:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		uint32_t val = (key && value) ? (uint32_t)atoi(value) : SPA_ID_INVALID;
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2083:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			o->node.client_id = atoi(str);
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2123:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char full_name[1024];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2134:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		node_id = atoi(str);
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:3099:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char latency[128];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:3865:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char val[4][16];
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:4917:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (retbuf, data, data_size);
data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c:157:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dest, &(rb->buf[rb->read_ptr]), n1);
data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c:160:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (dest + n1, &(rb->buf[rb->read_ptr]), n2);
data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c:192:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dest, &(rb->buf[tmp_read_ptr]), n1);
data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c:196:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (dest + n1, &(rb->buf[tmp_read_ptr]), n2);
data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c:274:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&(rb->buf[rb->write_ptr]), src, n1);
data/pipewire-0.3.15/pipewire-jack/src/ringbuffer.c:277:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&(rb->buf[rb->write_ptr]), src + n1, n2);
data/pipewire-0.3.15/pipewire-jack/src/uuid.c:103:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void jack_uuid_unparse (jack_uuid_t id, char buf[JACK_UUID_STRING_SIZE])
data/pipewire-0.3.15/pipewire-pulseaudio/src/channelmap.c:36:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *const table[PA_CHANNEL_POSITION_MAX] = {
data/pipewire-0.3.15/pipewire-pulseaudio/src/channelmap.c:99:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *const pretty_table[PA_CHANNEL_POSITION_MAX] = {
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:184:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		id = atoi(name);
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:346:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->param, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:387:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	i->owner_module = str ? (unsigned)atoi(str) : SPA_ID_INVALID;
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:514:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(g->node_info.channel_volumes, vol, n_vals * sizeof(float));
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:972:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			g->node_info.profile_device_id = atoi(str);
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:1132:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	i->owner_module = str ? (unsigned)atoi(str) : SPA_ID_INVALID;
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:1184:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		val = (key && value) ? (uint32_t)atoi(value) : SPA_ID_INVALID;
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:1364:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			g->node_info.client_id = atoi(str);
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:1369:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			g->node_info.device_id = atoi(str);
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:1392:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		g->port_info.node_id = atoi(str);
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:1987:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[16];
data/pipewire-0.3.15/pipewire-pulseaudio/src/format.c:240:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cm[PA_CHANNEL_MAP_SNPRINT_MAX];
data/pipewire-0.3.15/pipewire-pulseaudio/src/format.c:585:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char map_str[PA_CHANNEL_MAP_SNPRINT_MAX];
data/pipewire-0.3.15/pipewire-pulseaudio/src/format.c:856:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char cm[PA_CHANNEL_MAP_SNPRINT_MAX];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:103:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char monitor_name[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:341:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:358:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(g->node_info.channel_volumes, vols, n_channel_volumes * sizeof(float));
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:388:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:407:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(g->node_info.channel_volumes, vols, n_channel_volumes * sizeof(float));
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:655:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:1273:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:1284:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		i.sample_spec.rate = atoi(str);
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:1905:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/introspect.c:2238:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[16];
data/pipewire-0.3.15/pipewire-pulseaudio/src/simple.c:350:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(data, (const uint8_t*) p->read_data+p->read_index, l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/strbuf.c:82:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(e, CHUNK_TO_TEXT(c), c->length);
data/pipewire-0.3.15/pipewire-pulseaudio/src/strbuf.c:151:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(CHUNK_TO_TEXT(c), t, l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:45:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char b[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:132:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[100];
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:161:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if ((ms = atoi(e)) == 0) {
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:240:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[64];
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:293:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(s->channel_volumes, control->values, s->n_channel_volumes * sizeof(float));
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:553:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[1024];
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:940:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[4096];
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:962:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if ((devid = atoi(dev)) == 0)
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:1185:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dst, src, dsize);
data/pipewire-0.3.15/pipewire-pulseaudio/src/utf8.c:146:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(o, last, (size_t) size);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:80:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/pipewire-0.3.15/pipewire-pulseaudio/src/volume.c:411:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char channel_position[32];
data/pipewire-0.3.15/pipewire-pulseaudio/src/volume.c:413:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[PA_VOLUME_SNPRINT_VERBOSE_MAX];
data/pipewire-0.3.15/pipewire-pulseaudio/src/volume.c:454:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dB[PA_SW_VOLUME_SNPRINT_DB_MAX];
data/pipewire-0.3.15/pipewire-pulseaudio/src/xmalloc.c:108:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(r, s, l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/xmalloc.c:120:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(r, p, l);
data/pipewire-0.3.15/pipewire-pulseaudio/test/test-volume.c:153:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char v[1024];
data/pipewire-0.3.15/spa/examples/adapter-control.c:200:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		data->log->level = atoi(str);
data/pipewire-0.3.15/spa/examples/adapter-control.c:297:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value[32];
data/pipewire-0.3.15/spa/examples/example-control.c:525:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		data->log->level = atoi(str);
data/pipewire-0.3.15/spa/examples/local-libcamera.c:224:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dst, src, SPA_MIN(sstride, dstride));
data/pipewire-0.3.15/spa/examples/local-libcamera.c:521:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		data.log->level = atoi(str);
data/pipewire-0.3.15/spa/examples/local-v4l2.c:217:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dst, src, SPA_MIN(sstride, dstride));
data/pipewire-0.3.15/spa/examples/local-v4l2.c:512:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		data.log->level = atoi(str);
data/pipewire-0.3.15/spa/include/spa/debug/format.h:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[64];
data/pipewire-0.3.15/spa/include/spa/debug/mem.h:41:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[512];
data/pipewire-0.3.15/spa/include/spa/debug/mem.h:47:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			pos = sprintf(buffer, "%p: ", &t[i]);
data/pipewire-0.3.15/spa/include/spa/debug/mem.h:48:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		pos += sprintf(buffer + pos, "%02x ", t[i]);
data/pipewire-0.3.15/spa/include/spa/node/io.h:130:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[64];			/**< clock name prefixed with API, set by node. The clock name
data/pipewire-0.3.15/spa/include/spa/pod/builder.h:141:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(SPA_MEMBER(builder->data, offset, void), data, size);
data/pipewire-0.3.15/spa/include/spa/pod/builder.h:665:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	return (struct spa_pod *) memcpy(c, pod, size);
data/pipewire-0.3.15/spa/include/spa/pod/filter.h:55:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(val, alt, size);
data/pipewire-0.3.15/spa/include/spa/pod/filter.h:60:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(val, alt, size);
data/pipewire-0.3.15/spa/include/spa/pod/filter.h:78:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(val, best, size);
data/pipewire-0.3.15/spa/include/spa/pod/iter.h:347:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(values, v, SPA_POD_ARRAY_VALUE_SIZE(pod) * n_values);
data/pipewire-0.3.15/spa/include/spa/support/log-impl.h:45:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char text[512], location[1024];
data/pipewire-0.3.15/spa/include/spa/utils/defs.h:264:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d,s,n);							\
data/pipewire-0.3.15/spa/include/spa/utils/defs.h:273:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define spa_memcpy(d,s,n)	memcpy(d,s,n)
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:301:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		i = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:318:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		index = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:331:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		i = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:351:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:352:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	port_id = atoi(argv[2]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:366:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		i = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:387:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:407:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:426:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:456:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:476:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:477:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	mute = atoi(argv[2]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:496:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dev_id = atoi(argv[1]);
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:553:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int run_command(struct data *data, int argc, char *argv[64])
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:576:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096] = { 0, }, *p, *argv[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:708:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ret = atoi(optarg);
data/pipewire-0.3.15/spa/plugins/alsa/acp/acp.c:1131:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_id[16];
data/pipewire-0.3.15/spa/plugins/alsa/acp/acp.c:1154:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			impl->use_ucm = (strcmp(s, "true") == 0 || atoi(s) == 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/acp.c:1156:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ignore_dB = (strcmp(s, "true") == 0 || atoi(s) == 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:138:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    *index = atoi(idx);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:347:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(fdl->work_fds, fdl->fds, sizeof(struct pollfd) * fdl->num_fds);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:815:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:988:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:1151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:1346:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:1402:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:1634:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:1908:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[128];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2575:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2650:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2686:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3038:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3507:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:4486:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cm[PA_CHANNEL_MAP_SNPRINT_MAX];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:4940:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[PA_CHANNEL_MAP_SNPRINT_MAX];
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.c:949:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const alsa_class_table[SND_PCM_CLASS_LAST+1] = {
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.c:955:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const class_table[SND_PCM_CLASS_LAST+1] = {
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.c:961:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const alsa_subclass_table[SND_PCM_SUBCLASS_LAST+1] = {
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.c:1859:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(eld->monitor_name, &elddata[20], mnl);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-util.h:170:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char monitor_name[17];
data/pipewire-0.3.15/spa/plugins/alsa/acp/array.h:142:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d, data, size);
data/pipewire-0.3.15/spa/plugins/alsa/acp/channelmap.h:276:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *const pa_position_table[PA_CHANNEL_POSITION_MAX] = {
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:295:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	return memcpy(malloc(l), p, l);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:330:31:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define pa_fopen_cloexec(f,m)	fopen(f,m"e")
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:446:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ret, str, prefix);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:517:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*ret_i = (int32_t) atoi(s);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:522:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*ret_u = (uint32_t) atoi(s);
data/pipewire-0.3.15/spa/plugins/alsa/acp/conf-parser.h:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c:145:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128], path[180], channels[16];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c:146:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char card_id[16], *p;
data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c:204:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c:900:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	this->card = acp_card_new(atoi(str+1), &ACP_DICT_INIT(items, n_items));
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-device.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-device.c:122:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128], path[180];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-device.c:123:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sync_name[128], dev[16], subdev[16], card[16];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-device.c:261:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-sink.c:765:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->default_channels = atoi(info->items[i].value);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-sink.c:767:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->default_rate = atoi(info->items[i].value);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-source.c:786:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->default_channels = atoi(info->items[i].value);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-source.c:788:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->default_rate = atoi(info->items[i].value);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.h:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.h:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.h:58:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char card_name[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq-source.c:244:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char card[8];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq-source.c:245:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq-source.c:246:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char path[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq-source.c:247:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char alias[128];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq.h:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c:192:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[32];
data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c:200:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	snprintf(path, sizeof(path), "hw:%d", atoi(str));
data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c:331:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	idx = atoi(str);
data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix.c:1204:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    (strcmp(str, "true") == 0 || atoi(str) != 0))
data/pipewire-0.3.15/spa/plugins/audioconvert/channelmix.c:1207:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    (strcmp(str, "true") == 0 || atoi(str) != 0))
data/pipewire-0.3.15/spa/plugins/audioconvert/merger.c:78:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char position[16];
data/pipewire-0.3.15/spa/plugins/audioconvert/resample.c:962:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->props.quality = atoi(str);
data/pipewire-0.3.15/spa/plugins/audioconvert/resample.c:964:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->peaks = strcmp(str, "true") == 0 || atoi(str) == 1;
data/pipewire-0.3.15/spa/plugins/audioconvert/spa-resample.c:238:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ret = atoi(optarg);
data/pipewire-0.3.15/spa/plugins/audioconvert/spa-resample.c:254:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ret = atoi(optarg);
data/pipewire-0.3.15/spa/plugins/audioconvert/splitter.c:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char position[8];
data/pipewire-0.3.15/spa/plugins/audioconvert/test-audioadapter.c:72:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value[32];
data/pipewire-0.3.15/spa/plugins/audioconvert/test-fmt-ops.c:73:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&samp_in[j * in_size], &in8[(j % n_samples) * in_size], in_size);
data/pipewire-0.3.15/spa/plugins/audioconvert/test-fmt-ops.c:74:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&samp_out[j * out_size], &out8[(j % n_samples) * out_size], out_size);
data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-avx.c:129:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src[0], n_samples * sizeof(float));
data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-c.c:43:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src[0], n_samples * sizeof(float));
data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-c.c:62:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src[0], n_samples * sizeof(double));
data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-sse.c:84:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src[0], n_samples * sizeof(float));
data/pipewire-0.3.15/spa/plugins/audiomixer/mix-ops-sse2.c:84:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src[0], n_samples * sizeof(double));
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codec-aac.c:74:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(caps, &a2dp_aac, sizeof(a2dp_aac));
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codec-aac.c:137:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(config, &conf, sizeof(conf));
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codec-sbc.c:80:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(caps, &a2dp_sbc, sizeof(a2dp_sbc));
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-codec-sbc.c:180:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(config, &conf, sizeof(conf));
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-sink.c:373:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(this->tmp_buffer + this->tmp_buffer_used, data, size);
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-sink.c:377:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(this->tmp_buffer + this->tmp_buffer_used, data, this->block_size - this->tmp_buffer_used);
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-source.c:438:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy ((uint8_t *)datas[0].data, read_decoded, decoded);
data/pipewire-0.3.15/spa/plugins/bluez5/backend-hsp-native.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[512];
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-dbus.c:354:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dev[32];
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-dbus.c:793:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(transport->configuration, value, len);
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-device.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-device.c:84:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char transport[32];
data/pipewire-0.3.15/spa/plugins/bluez5/sco-sink.c:321:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(port->write_buffer + port->write_buffer_size,
data/pipewire-0.3.15/spa/plugins/ffmpeg/ffmpeg.c:91:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char name[128];
data/pipewire-0.3.15/spa/plugins/jack/jack-device.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char server[128];
data/pipewire-0.3.15/spa/plugins/jack/jack-device.c:89:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char jack_client[64];
data/pipewire-0.3.15/spa/plugins/jack/jack-device.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[200];
data/pipewire-0.3.15/spa/plugins/jack/jack-sink.c:257:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char latency[64];
data/pipewire-0.3.15/spa/plugins/jack/jack-sink.c:422:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *aliases[2];
data/pipewire-0.3.15/spa/plugins/jack/jack-source.c:285:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char latency[64];
data/pipewire-0.3.15/spa/plugins/jack/jack-source.c:421:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *aliases[2];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-device.c:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-device.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-device.c:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[128], version[16];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-utils.c:41:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int fd = open("/dev/media0", O_RDONLY | O_NONBLOCK, 0);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-utils.c:138:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fourcc[32];
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.cpp:135:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		bool open();
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.cpp:475:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	bool LibCamera::open() {
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera_wrapper.cpp:795:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(!camera->open()) {
data/pipewire-0.3.15/spa/plugins/support/cpu-arm.c:57:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open("/proc/cpuinfo", O_RDONLY | O_CLOEXEC, 0)) < 0) {
data/pipewire-0.3.15/spa/plugins/support/cpu.c:189:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->flags = atoi(str);
data/pipewire-0.3.15/spa/plugins/support/logger.c:77:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char location[1024], *p, *s;
data/pipewire-0.3.15/spa/plugins/support/logger.c:269:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->timestamp = (strcmp(str, "true") == 0 || atoi(str) == 1);
data/pipewire-0.3.15/spa/plugins/support/logger.c:271:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->line = (strcmp(str, "true") == 0 || atoi(str) == 1);
data/pipewire-0.3.15/spa/plugins/support/logger.c:273:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->colors = (strcmp(str, "true") == 0 || atoi(str) == 1);
data/pipewire-0.3.15/spa/plugins/support/logger.c:275:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->log.level = atoi(str);
data/pipewire-0.3.15/spa/plugins/support/logger.c:277:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			this->file = fopen(str, "w");
data/pipewire-0.3.15/spa/plugins/support/loop.c:207:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(item->data, data, size);
data/pipewire-0.3.15/spa/plugins/test/fakesink.c:533:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(port->format_buffer, format, SPA_POD_SIZE(format));
data/pipewire-0.3.15/spa/plugins/test/fakesrc.c:550:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(port->format_buffer, format, SPA_POD_SIZE(format));
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-device.c:50:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-device.c:51:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128];
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-device.c:80:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char path[128], version[16], capabilities[16], device_caps[16];
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-source.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device[64];
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-source.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[128];
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-udev.c:93:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return atoi(str + 6);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-utils.c:62:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	dev->fd = open(path, O_RDWR | O_NONBLOCK, 0);
data/pipewire-0.3.15/spa/plugins/videoconvert/videoadapter.c:339:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			this->driver = strcmp(str, "true") == 0 || atoi(str) == 1;
data/pipewire-0.3.15/spa/plugins/vulkan/vulkan-utils.c:326:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(shaderFile, 0, O_RDONLY)) == -1) {
data/pipewire-0.3.15/spa/tests/benchmark-dict.c:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char values[MAX_ITEMS][32];
data/pipewire-0.3.15/spa/tests/test-pod.c:279:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char str[9];
data/pipewire-0.3.15/spa/tests/test-pod.c:281:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char val[12];
data/pipewire-0.3.15/spa/tests/test-pod.c:294:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pod.str, "test123456789", 9);
data/pipewire-0.3.15/spa/tests/test-utils.c:175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[20];
data/pipewire-0.3.15/spa/tests/test-utils.c:190:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(e->string, "test");
data/pipewire-0.3.15/spa/tests/test-utils.c:197:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(e->string, "pipewire!");
data/pipewire-0.3.15/spa/tests/test-utils.c:203:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(e->string, "First element");
data/pipewire-0.3.15/spa/tests/test-utils.c:348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[20];
data/pipewire-0.3.15/spa/tests/test-utils.c:349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char readbuf[20];
data/pipewire-0.3.15/spa/tools/spa-inspect.c:285:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		data.log->level = atoi(str);
data/pipewire-0.3.15/src/daemon/command.c:130:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		pw_log_set_level(atoi(this->args[2]));
data/pipewire-0.3.15/src/daemon/daemon-config.c:124:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/pipewire-0.3.15/src/daemon/daemon-config.c:128:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((f = fopen(filename, "r")) == NULL) {
data/pipewire-0.3.15/src/examples/audio-dsp-filter.c:73:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(out, in, n_samples * sizeof(float));
data/pipewire-0.3.15/src/examples/audio-src.c:162:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			  argc > 1 ? (uint32_t)atoi(argv[1]) : PW_ID_ANY,
data/pipewire-0.3.15/src/examples/export-sink.c:409:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src, ostride);
data/pipewire-0.3.15/src/examples/local-v4l2.c:291:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src, ostride);
data/pipewire-0.3.15/src/examples/media-session/alsa-endpoint.c:142:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/alsa-endpoint.c:197:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		obj = sm_media_session_find_object(impl->session, atoi(str));
data/pipewire-0.3.15/src/examples/media-session/alsa-endpoint.c:586:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		snd_card_get_name(atoi(str), &name_free);
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:240:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (atol(dev) != 0)
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:248:14:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	priority -= atol(dev) * 16;
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:249:14:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	priority -= atol(subdev);
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:439:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[32];
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:521:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:541:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/alsa-monitor.c:833:23:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		device->priority -= atol(card) * 64;
data/pipewire-0.3.15/src/examples/media-session/bluez-endpoint.c:137:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/bluez-endpoint.c:192:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		obj = sm_media_session_find_object(impl->session, atoi(str));
data/pipewire-0.3.15/src/examples/media-session/bluez-monitor.c:261:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/default-nodes.c:157:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		val = (key && value) ? (uint32_t)atoi(value) : SPA_ID_INVALID;
data/pipewire-0.3.15/src/examples/media-session/default-nodes.c:198:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char val[16];
data/pipewire-0.3.15/src/examples/media-session/default-profile.c:152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/default-routes.c:162:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/default-routes.c:242:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[1024];
data/pipewire-0.3.15/src/examples/media-session/libcamera-monitor.c:253:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[32];
data/pipewire-0.3.15/src/examples/media-session/libcamera-monitor.c:277:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/media-session.c:145:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char state_dir[PATH_MAX];
data/pipewire-0.3.15/src/examples/media-session/media-session.c:339:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->this.param, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/src/examples/media-session/media-session.c:598:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			node->device = find_object(impl, atoi(str), NULL);
data/pipewire-0.3.15/src/examples/media-session/media-session.c:694:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port->node = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Node);
data/pipewire-0.3.15/src/examples/media-session/media-session.c:848:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			endpoint->session = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Session);
data/pipewire-0.3.15/src/examples/media-session/media-session.c:932:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			stream->endpoint = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Endpoint);
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1668:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Node)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1673:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Node)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1678:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Endpoint)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1682:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_EndpointStream)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1686:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Endpoint)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1690:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_EndpointStream)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1745:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Node)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1750:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    (obj = find_object(impl, atoi(str), PW_TYPE_INTERFACE_Node)) != NULL)
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1783:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buffer[4096];
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1795:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((res = open(impl->state_dir, O_CLOEXEC | O_DIRECTORY | O_PATH)) < 0) {
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1806:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((res = open(impl->state_dir, O_CLOEXEC | O_DIRECTORY | O_PATH)) < 0) {
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1819:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[1024];
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:113:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			client_id = atoi(str);
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:428:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		uint32_t path_id = atoi(str);
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:147:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:221:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			client_id = atoi(str);
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:354:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	uint32_t id = atoi(name);
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:701:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			impl->sample_rate = atoi(str);
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:818:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	uint32_t val = (key && value) ? (uint32_t)atoi(value) : SPA_ID_INVALID;
data/pipewire-0.3.15/src/examples/media-session/pw-reserve.c:145:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			opt_priority = atoi(optarg);
data/pipewire-0.3.15/src/examples/media-session/reserve.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char t[2];
data/pipewire-0.3.15/src/examples/media-session/restore-stream.c:189:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/stream-endpoint.c:131:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/media-session/stream-endpoint.c:210:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		obj = sm_media_session_find_object(impl->session, atoi(str));
data/pipewire-0.3.15/src/examples/media-session/v4l2-endpoint.c:163:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		obj = sm_media_session_find_object(impl->session, atoi(str));
data/pipewire-0.3.15/src/examples/media-session/v4l2-monitor.c:253:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[32];
data/pipewire-0.3.15/src/examples/media-session/v4l2-monitor.c:277:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/examples/video-play-reneg.c:139:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst, src, ostride);
data/pipewire-0.3.15/src/examples/video-play-reneg.c:398:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			  data.path ? (uint32_t)atoi(data.path) : PW_ID_ANY,
data/pipewire-0.3.15/src/examples/video-play.c:173:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dst, src, ostride);
data/pipewire-0.3.15/src/examples/video-play.c:220:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(dst, src, ostride);
data/pipewire-0.3.15/src/examples/video-play.c:491:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			  data.path ? (uint32_t)atoi(data.path) : PW_ID_ANY,
data/pipewire-0.3.15/src/extensions/session-manager/introspect-funcs.h:76:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(info->params, update->params, size);
data/pipewire-0.3.15/src/extensions/session-manager/introspect-funcs.h:147:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(info->params, update->params, size);
data/pipewire-0.3.15/src/extensions/session-manager/introspect-funcs.h:217:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(info->params, update->params, size);
data/pipewire-0.3.15/src/extensions/session-manager/introspect-funcs.h:291:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(info->params, update->params, size);
data/pipewire-0.3.15/src/gst/gstpipewiredeviceprovider.c:492:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((nd = find_node_data(rd, atoi(str))) == NULL)
data/pipewire-0.3.15/src/gst/gstpipewiresink.c:532:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                          pwsink->path ? (uint32_t)atoi(pwsink->path) : PW_ID_ANY,
data/pipewire-0.3.15/src/gst/gstpipewiresrc.c:549:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  pwsrc->min_latency = var ? (GstClockTime) atoi (var) : 0;
data/pipewire-0.3.15/src/gst/gstpipewiresrc.c:552:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  pwsrc->max_latency = var ? (GstClockTime) atoi (var) : GST_CLOCK_TIME_NONE;
data/pipewire-0.3.15/src/gst/gstpipewiresrc.c:689:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                     pwsrc->path ? (uint32_t)atoi(pwsrc->path) : PW_ID_ANY,
data/pipewire-0.3.15/src/modules/module-access.c:64:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[2048];
data/pipewire-0.3.15/src/modules/module-access.c:68:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(path, "/proc/%u/cmdline", pid);
data/pipewire-0.3.15/src/modules/module-access.c:70:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(path, O_RDONLY);
data/pipewire-0.3.15/src/modules/module-access.c:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char root_path[2048];
data/pipewire-0.3.15/src/modules/module-access.c:95:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(root_path, "/proc/%u/root", pid);
data/pipewire-0.3.15/src/modules/module-access.c:142:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			pid = atoi(str);
data/pipewire-0.3.15/src/modules/module-adapter.c:271:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-adapter/adapter.c:90:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char position[8], *prefix;
data/pipewire-0.3.15/src/modules/module-client-device.c:142:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-client-node.c:130:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-client-node/client-node.c:787:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&b->buffer, buffers[i], sizeof(struct spa_buffer));
data/pipewire-0.3.15/src/modules/module-client-node/client-node.c:826:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&b->buffer.metas[j], &buffers[i]->metas[j], sizeof(struct spa_meta));
data/pipewire-0.3.15/src/modules/module-client-node/client-node.c:832:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&b->datas[j], d, sizeof(struct spa_data));
data/pipewire-0.3.15/src/modules/module-client-node/remote-node.c:666:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(b, buffers[i].buffer, sizeof(struct spa_buffer));
data/pipewire-0.3.15/src/modules/module-client-node/remote-node.c:678:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(m, &buffers[i].buffer->metas[j], sizeof(struct spa_meta));
data/pipewire-0.3.15/src/modules/module-client-node/remote-node.c:686:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(d, &buffers[i].buffer->datas[j], sizeof(struct spa_data));
data/pipewire-0.3.15/src/modules/module-client-node/v0/client-node.c:738:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&b->buffer, buffers[i], sizeof(struct spa_buffer));
data/pipewire-0.3.15/src/modules/module-client-node/v0/client-node.c:772:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&b->buffer.metas[j], &buffers[i]->metas[j], sizeof(struct spa_meta));
data/pipewire-0.3.15/src/modules/module-client-node/v0/client-node.c:778:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&b->buffer.datas[j], d, sizeof(struct spa_data));
data/pipewire-0.3.15/src/modules/module-client-node/v0/transport.c:218:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(impl->mem->map->ptr, &area, sizeof(struct pw_client_node0_area));
data/pipewire-0.3.15/src/modules/module-link-factory.c:346:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-metadata.c:126:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-portal.c:78:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	pid = atoi(str);
data/pipewire-0.3.15/src/modules/module-profiler.c:156:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[4096];
data/pipewire-0.3.15/src/modules/module-protocol-native.c:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lock_addr[UNIX_PATH_MAX + LOCK_SUFFIXLEN];
data/pipewire-0.3.15/src/modules/module-protocol-native.c:366:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1024];
data/pipewire-0.3.15/src/modules/module-protocol-native.c:459:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/pipewire-0.3.15/src/modules/module-protocol-native.c:513:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	s->fd_lock = open(s->lock_addr, O_CREAT | O_CLOEXEC,
data/pipewire-0.3.15/src/modules/module-protocol-native/connection.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmsgbuf[CMSG_SPACE(MAX_FDS_MSG * sizeof(int))];
data/pipewire-0.3.15/src/modules/module-protocol-native/connection.c:201:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&buf->fds[buf->n_fds], CMSG_DATA(cmsg), n_fds * sizeof(int));
data/pipewire-0.3.15/src/modules/module-protocol-native/connection.c:511:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmsgbuf[CMSG_SPACE(MAX_FDS_MSG * sizeof(int))];
data/pipewire-0.3.15/src/modules/module-protocol-native/connection.c:548:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(CMSG_DATA(cmsg), fds, fds_len);
data/pipewire-0.3.15/src/modules/module-protocol-native/local-socket.c:74:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/pipewire-0.3.15/src/modules/module-protocol-native/v0/protocol-native.c:256:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			id = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-native/v0/protocol-native.c:815:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				parent_id = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-native/v0/protocol-native.c:818:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				parent_id = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-native/v0/protocol-native.c:823:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				parent_id = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/format.c:396:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	ss.rate = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/format.c:400:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	ss.channels = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/manager.c:93:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->param, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/src/modules/module-protocol-pulse/manager.c:578:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c:100:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(val, &m->data[m->offset], 4);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c:412:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(m->data + m->length, &val, 4);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c:458:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(m->data + m->length, p, length);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:570:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			client->default_rate = atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:612:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		val = (key && value) ? (uint32_t)atoi(value) : SPA_ID_INVALID;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:919:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char latency[32];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:1025:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char latency[32], *tmp;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:1809:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if ((id = atoi(source_name)) != 0)
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2054:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2083:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2120:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2323:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		card_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2325:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		dev_info.device = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2385:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		card_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2387:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		dev_info.device = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2445:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		card_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2447:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		device_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2617:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2737:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2794:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2918:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2920:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		card_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2922:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		dev_info.device = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3047:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3049:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		card_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3051:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		dev_info.device = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3159:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3161:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		client_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3224:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3226:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		client_id = (uint32_t)atoi(str);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3539:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4169:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4216:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char runtime_dir[PATH_MAX];
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4284:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		port = atoi(col+1);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4292:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		port = atoi(name);
data/pipewire-0.3.15/src/modules/module-rtkit.c:515:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		val = atoi(str);
data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/client-endpoint.c:237:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/endpoint-stream.c:226:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(this->info.params, info->params, size);
data/pipewire-0.3.15/src/modules/module-session-manager/client-endpoint/endpoint.c:244:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(this->info.params, info->params, size);
data/pipewire-0.3.15/src/modules/module-session-manager/client-session/client-session.c:236:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-session-manager/client-session/endpoint-link.c:240:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(this->info.params, info->params, size);
data/pipewire-0.3.15/src/modules/module-session-manager/client-session/session.c:221:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(this->info.params, info->params, size);
data/pipewire-0.3.15/src/modules/module-session-manager/endpoint-link.c:505:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-session-manager/endpoint-stream.c:496:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-session-manager/endpoint.c:505:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/module-session-manager/session.c:496:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/spa/module-device-factory.c:214:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/modules/spa/module-node-factory.c:218:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[16];
data/pipewire-0.3.15/src/pipewire/context.c:142:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		val = atoi(str);
data/pipewire-0.3.15/src/pipewire/context.c:1025:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char errbuf[1024];
data/pipewire-0.3.15/src/pipewire/core.h:328:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1024];
data/pipewire-0.3.15/src/pipewire/filter.c:191:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->param, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/src/pipewire/pipewire.c:210:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		pw_log_set_level(atoi(level[0]));
data/pipewire-0.3.15/src/pipewire/pipewire.c:364:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char level[32];
data/pipewire-0.3.15/src/pipewire/pipewire.c:473:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char prgname[PATH_MAX];
data/pipewire-0.3.15/src/pipewire/pipewire.c:516:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char hname[256];
data/pipewire-0.3.15/src/pipewire/pipewire.c:541:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char cname[256];
data/pipewire-0.3.15/src/pipewire/private.h:238:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1024];
data/pipewire-0.3.15/src/pipewire/properties.h:94:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return (strcmp(value, "true") == 0 || atoi(value) == 1);
data/pipewire-0.3.15/src/pipewire/stream.c:183:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->param, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/src/pipewire/stream.c:922:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(c->info, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/src/pipewire/stream.c:1027:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(c->control.values, values, sizeof(float) * n_values);
data/pipewire-0.3.15/src/pipewire/stream.c:1706:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/pipewire-0.3.15/src/tools/midifile.c:142:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((mf->fd = open(filename, O_RDONLY)) < 0) {
data/pipewire-0.3.15/src/tools/midifile.c:243:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((mf->fd = open(filename, O_WRONLY | O_CREAT, 0660)) < 0) {
data/pipewire-0.3.15/src/tools/midifile.c:404:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&event->data[1], tr->p, size - 1);
data/pipewire-0.3.15/src/tools/midifile.c:472:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *controller_names[128] = {
data/pipewire-0.3.15/src/tools/pw-cat.c:654:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		uint32_t val = (key && value) ? (uint32_t)atoi(value) : SPA_ID_INVALID;
data/pipewire-0.3.15/src/tools/pw-cat.c:720:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		prio = prio_session ? atoi(prio_session) : -1;
data/pipewire-0.3.15/src/tools/pw-cat.c:1259:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	data->latency_value = atoi(data->latency);
data/pipewire-0.3.15/src/tools/pw-cat.c:1385:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			data.quality = atoi(optarg);
data/pipewire-0.3.15/src/tools/pw-cat.c:1410:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			data.target_id = atoi(optarg);
data/pipewire-0.3.15/src/tools/pw-cat.c:1422:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ret = atoi(optarg);
data/pipewire-0.3.15/src/tools/pw-cat.c:1431:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ret = atoi(optarg);
data/pipewire-0.3.15/src/tools/pw-cat.c:1590:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(info.position, data.channelmap.channels, data.channels * sizeof(int));
data/pipewire-0.3.15/src/tools/pw-cli.c:135:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *s, *p[3];
data/pipewire-0.3.15/src/tools/pw-cli.c:258:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[2];
data/pipewire-0.3.15/src/tools/pw-cli.c:457:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[1];
data/pipewire-0.3.15/src/tools/pw-cli.c:502:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[1];
data/pipewire-0.3.15/src/tools/pw-cli.c:509:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		idx = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:544:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[1];
data/pipewire-0.3.15/src/tools/pw-cli.c:550:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		idx = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:971:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(info->params, update->params,
data/pipewire-0.3.15/src/tools/pw-cli.c:1028:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(info->params, update->params,
data/pipewire-0.3.15/src/tools/pw-cli.c:1078:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(info->params, update->params,
data/pipewire-0.3.15/src/tools/pw-cli.c:1263:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[1];
data/pipewire-0.3.15/src/tools/pw-cli.c:1277:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		id = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1291:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[2];
data/pipewire-0.3.15/src/tools/pw-cli.c:1328:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[2];
data/pipewire-0.3.15/src/tools/pw-cli.c:1365:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[1];
data/pipewire-0.3.15/src/tools/pw-cli.c:1375:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	id = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1389:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[5];
data/pipewire-0.3.15/src/tools/pw-cli.c:1437:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[2];
data/pipewire-0.3.15/src/tools/pw-cli.c:1447:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		idx = atoi(a[1]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1453:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	global = pw_context_find_global(data->context, atoi(a[0]));
data/pipewire-0.3.15/src/tools/pw-cli.c:1455:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		*error = spa_aprintf("object %d does not exist", atoi(a[0]));
data/pipewire-0.3.15/src/tools/pw-cli.c:1459:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		*error = spa_aprintf("object %d is not a node", atoi(a[0]));
data/pipewire-0.3.15/src/tools/pw-cli.c:1478:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[2];
data/pipewire-0.3.15/src/tools/pw-cli.c:1489:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	id = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1490:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	param_id = atoi(a[1]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1516:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				atoi(a[0]), global->type);
data/pipewire-0.3.15/src/tools/pw-cli.c:1525:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[3];
data/pipewire-0.3.15/src/tools/pw-cli.c:1537:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	id = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1544:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		*error = spa_aprintf("object %d is not a client", atoi(a[0]));
data/pipewire-0.3.15/src/tools/pw-cli.c:1556:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	permissions[0] = PW_PERMISSION_INIT(atoi(a[1]), p);
data/pipewire-0.3.15/src/tools/pw-cli.c:1566:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[3];
data/pipewire-0.3.15/src/tools/pw-cli.c:1577:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	id = atoi(a[0]);
data/pipewire-0.3.15/src/tools/pw-cli.c:1584:53:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		*error = spa_aprintf("object %d is not a client", atoi(a[0]));
data/pipewire-0.3.15/src/tools/pw-cli.c:1903:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			id = atoi(item->value);
data/pipewire-0.3.15/src/tools/pw-cli.c:1907:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			id = atoi(item->value);
data/pipewire-0.3.15/src/tools/pw-cli.c:1911:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			id = atoi(item->value);
data/pipewire-0.3.15/src/tools/pw-cli.c:1915:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			id = atoi(item->value);
data/pipewire-0.3.15/src/tools/pw-cli.c:2296:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		module_name = module_id ? obj_lookup(rd, atoi(module_id), PW_KEY_MODULE_NAME) : NULL;
data/pipewire-0.3.15/src/tools/pw-cli.c:2578:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *aa[32], **a;
data/pipewire-0.3.15/src/tools/pw-cli.c:2662:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if (atoi(a[i]) == (int)global->id) {
data/pipewire-0.3.15/src/tools/pw-cli.c:2687:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *a[2];
data/pipewire-0.3.15/src/tools/pw-cli.c:2720:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096], *error;
data/pipewire-0.3.15/src/tools/pw-cli.c:2850:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[4096], *p, *error;
data/pipewire-0.3.15/src/tools/pw-dot.c:222:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	client_id = client_id_str ? (uint32_t)atoi(client_id_str) : GLOBAL_ID_NONE;
data/pipewire-0.3.15/src/tools/pw-dot.c:223:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	factory_id = factory_id_str ? (uint32_t)atoi(factory_id_str) : GLOBAL_ID_NONE;
data/pipewire-0.3.15/src/tools/pw-dot.c:254:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (!prop_node_id || (uint32_t)atoi(prop_node_id) != g->id)
data/pipewire-0.3.15/src/tools/pw-dot.c:337:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	uint32_t client_id = client_id_str ? (uint32_t)atoi(client_id_str) : GLOBAL_ID_NONE;
data/pipewire-0.3.15/src/tools/pw-dot.c:338:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	uint32_t factory_id = factory_id_str ? (uint32_t)atoi(factory_id_str) : GLOBAL_ID_NONE;
data/pipewire-0.3.15/src/tools/pw-dot.c:369:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	uint32_t module_id = module_id_str ? (uint32_t)atoi(module_id_str) : GLOBAL_ID_NONE;
data/pipewire-0.3.15/src/tools/pw-dot.c:433:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if (module_id_str && (uint32_t)atoi(module_id_str) == id)
data/pipewire-0.3.15/src/tools/pw-dot.c:497:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(path, "w");
data/pipewire-0.3.15/src/tools/pw-metadata.c:222:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		data.opt_id = atoi(argv[optind++]);
data/pipewire-0.3.15/src/tools/pw-mon.c:151:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->param, param, SPA_POD_SIZE(param));
data/pipewire-0.3.15/src/tools/pw-profiler.c:42:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_NAME];
data/pipewire-0.3.15/src/tools/pw-profiler.c:262:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("Timing1.plot", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:282:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("Timing2.plot", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:298:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("Timing3.plot", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:328:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("Timing4.plot", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:355:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("Timing5.plot", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:381:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("Timings.html", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:409:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen("generate_timings.sh", "w");
data/pipewire-0.3.15/src/tools/pw-profiler.c:623:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	data.output = fopen(data.filename, "w");
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1309:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(ctl->ext.id, "pipewire", sizeof(ctl->ext.id) - 1);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1310:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(ctl->ext.driver, "PW plugin", sizeof(ctl->ext.driver) - 1);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1311:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(ctl->ext.name, "PipeWire", sizeof(ctl->ext.name) - 1);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1312:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(ctl->ext.longname, "PipeWire", sizeof(ctl->ext.longname) - 1);
data/pipewire-0.3.15/pipewire-alsa/alsa-plugins/ctl_pipewire.c:1313:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(ctl->ext.mixername, "PipeWire", sizeof(ctl->ext.mixername) - 1);
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:1082:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (SPA_UNLIKELY(read(fd, &cmd, sizeof(cmd)) != sizeof(cmd))) {
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2090:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(c->name, node_name, JACK_CLIENT_NAME_SIZE);
data/pipewire-0.3.15/pipewire-jack/src/pipewire-jack.c:2388:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(client->name, client_name, JACK_CLIENT_NAME_SIZE);
data/pipewire-0.3.15/pipewire-pulseaudio/src/bitset.c:46:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal;
data/pipewire-0.3.15/pipewire-pulseaudio/src/bitset.c:64:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/pipewire-0.3.15/pipewire-pulseaudio/src/context.c:194:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    strncmp(str, name, strlen(name) - 8) == 0)
data/pipewire-0.3.15/pipewire-pulseaudio/src/format.c:188:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (pos != strlen(str)) {
data/pipewire-0.3.15/pipewire-pulseaudio/src/proplist.c:90:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(key) < 1)
data/pipewire-0.3.15/pipewire-pulseaudio/src/proplist.c:175:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*nbytes = val ? strlen(val) : 0;
data/pipewire-0.3.15/pipewire-pulseaudio/src/strbuf.c:111:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pa_strbuf_putsn(sb, t, strlen(t));
data/pipewire-0.3.15/pipewire-pulseaudio/src/stream.c:969:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				dev = strndupa(dev, strlen(dev) - 8);
data/pipewire-0.3.15/pipewire-pulseaudio/src/utf8.c:185:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new_str = pa_xmalloc(strlen(str) + 1);
data/pipewire-0.3.15/pipewire-pulseaudio/src/utf8.c:207:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    inlen = len = strlen(str) + 1;
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:36:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	return strncpy(s, pw_get_user_name(), l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:43:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	return strncpy(s, pw_get_host_name(), l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:49:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	return strncpy(s, pw_get_host_name(), l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:66:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(s, home, l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:90:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	return strncpy(s, pw_get_prgname(), l);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:121:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l1 = strlen(s);
data/pipewire-0.3.15/pipewire-pulseaudio/src/util.c:122:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l2 = strlen(sfx);
data/pipewire-0.3.15/pipewire-pulseaudio/src/xmalloc.c:93:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return pa_xmemdup(s, strlen(s)+1);
data/pipewire-0.3.15/spa/include/spa/pod/builder.h:286:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	uint32_t len = str ? strlen(str) : 0;
data/pipewire-0.3.15/spa/include/spa/pod/builder.h:491:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			size_t len = strlen(strval);				\
data/pipewire-0.3.15/spa/include/spa/pod/iter.h:245:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(dest, s, maxlen-1);
data/pipewire-0.3.15/spa/include/spa/pod/parser.h:361:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(dest, (char *)SPA_POD_CONTENTS(struct spa_pod_string, pod), maxlen-1);	\
data/pipewire-0.3.15/spa/include/spa/support/system.h:72:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t (*read) (void *object, int fd, void *buf, size_t count);
data/pipewire-0.3.15/spa/include/spa/support/system.h:122:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define spa_system_read(s,...)			spa_system_method_r(s,read,0,__VA_ARGS__)
data/pipewire-0.3.15/spa/include/spa/utils/type-info.h:40:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return type != NULL && parent != NULL && strncmp(type, parent, strlen(parent)) == 0;
data/pipewire-0.3.15/spa/plugins/alsa/acp-tool.c:580:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((r = read(STDIN_FILENO, buf, sizeof(buf)-1)) < 0)
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:1987:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name = alloca(strlen(section) + 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2054:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(en, section, len);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2057:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name = alloca(strlen(en) + 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:2875:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name = alloca(strlen(element) + 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3401:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(*je) + 1 >= sizeof(name)) {
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-mixer.c:3873:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name = alloca(strlen(alsa_id) + 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-ucm.c:1137:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    port_name += is_sink ? strlen(PA_UCM_PRE_TAG_OUTPUT) : strlen(PA_UCM_PRE_TAG_INPUT);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-ucm.c:1137:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    port_name += is_sink ? strlen(PA_UCM_PRE_TAG_OUTPUT) : strlen(PA_UCM_PRE_TAG_INPUT);
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-ucm.c:1140:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(dev_name) == len && !strncmp(r, dev_name, len)) {
data/pipewire-0.3.15/spa/plugins/alsa/acp/alsa-ucm.c:1690:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        name = pa_xstrndup(jack_control, strlen(jack_control) - 5);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:357:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l1 = strlen(s);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:358:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l2 = strlen(sfx);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:367:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	an = strlen(a);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:368:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bn = strlen(b);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:381:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pa_array_add_data(&res, s, strlen(s) + 1);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:437:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    str_l = strlen(str);
data/pipewire-0.3.15/spa/plugins/alsa/acp/compat.h:438:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    suf_l = strlen(suffix);
data/pipewire-0.3.15/spa/plugins/alsa/acp/conf-parser.c:110:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        k = strlen(state->lvalue);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-acp-device.c:67:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, DEFAULT_DEVICE, 64);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-device.c:60:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-sink.c:51:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm-source.c:51:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.c:1014:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	snd_pcm_uframes_t read, frames, offset;
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.c:1085:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			offset, read, state->sample_count);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.c:1086:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	total_read += read;
data/pipewire-0.3.15/spa/plugins/alsa/alsa-pcm.c:1088:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((res = snd_pcm_mmap_commit(hndl, offset, read)) < 0) {
data/pipewire-0.3.15/spa/plugins/alsa/alsa-seq-source.c:48:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c:101:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(e) <= 5 || strncmp(e, "/card", 5) != 0)
data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c:278:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char *t = alloca(strlen(str) + 1);
data/pipewire-0.3.15/spa/plugins/alsa/alsa-udev.c:295:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char *t = alloca(strlen(str) + 1);
data/pipewire-0.3.15/spa/plugins/audioconvert/test-helper.h:43:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(str) + strlen(lib) + 2;
data/pipewire-0.3.15/spa/plugins/audioconvert/test-helper.h:43:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(str) + strlen(lib) + 2;
data/pipewire-0.3.15/spa/plugins/bluez5/a2dp-source.c:324:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_read = read(this->transport->fd, this->buffer_read, b_size);
data/pipewire-0.3.15/spa/plugins/bluez5/backend-hsp-native.c:88:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		len = read(source->fd, buf, 511);
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-dbus.c:93:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		codec_name = endpoint + strlen(A2DP_SINK_ENDPOINT "/");
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-dbus.c:95:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		codec_name = endpoint + strlen(A2DP_SOURCE_ENDPOINT "/");
data/pipewire-0.3.15/spa/plugins/bluez5/bluez5-device.c:61:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/bluez5/sco-source.c:280:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	res = read(this->sock_fd, data, data_size);
data/pipewire-0.3.15/spa/plugins/jack/jack-device.c:61:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->server, DEFAULT_SERVER, 64);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-device.c:60:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-device.c:256:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(this->props.device, str, 63);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c:63:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/libcamera/libcamera-source.c:1000:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(this->props.device, str, 63);
data/pipewire-0.3.15/spa/plugins/support/cpu-arm.c:62:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((n = read(fd, cpuinfo, MAX_BUFFER-1)) < 0) {
data/pipewire-0.3.15/spa/plugins/support/evl-system.c:333:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, &signal_info, sizeof signal_info);
data/pipewire-0.3.15/spa/plugins/support/system.c:57:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t res = read(fd, buf, count);
data/pipewire-0.3.15/spa/plugins/support/system.c:201:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, expirations, sizeof(uint64_t)) != sizeof(uint64_t))
data/pipewire-0.3.15/spa/plugins/support/system.c:231:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, count, sizeof(uint64_t)) != sizeof(uint64_t))
data/pipewire-0.3.15/spa/plugins/support/system.c:262:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, &signal_info, sizeof signal_info);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-device.c:57:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-device.c:249:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(this->props.device, str, 63);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-source.c:62:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(props->device, default_device, 64);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-source.c:974:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(this->props.device, str, 63);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-udev.c:90:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(str) <= 6 || strncmp(str, "/video", 6) != 0)
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-udev.c:227:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char *t = alloca(strlen(str) + 1);
data/pipewire-0.3.15/spa/plugins/v4l2/v4l2-udev.c:247:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				char *t = alloca(strlen(str) + 1);
data/pipewire-0.3.15/spa/tests/test-pod.c:284:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		strncpy(pod.str, "test", 9);
data/pipewire-0.3.15/src/examples/media-session/media-session.c:1864:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tmp_name = alloca(strlen(name)+5);
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:133:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		media_class += strlen("Stream/");
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:137:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Output/");
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:141:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Input/");
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:154:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Audio/");
data/pipewire-0.3.15/src/examples/media-session/policy-ep.c:158:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Video/");
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:244:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		media_class += strlen("Stream/");
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:248:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Output/");
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:252:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Input/");
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:278:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Audio/");
data/pipewire-0.3.15/src/examples/media-session/policy-node.c:282:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			media_class += strlen("Video/");
data/pipewire-0.3.15/src/examples/media-session/restore-stream.c:240:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			i = strlen(p);
data/pipewire-0.3.15/src/examples/media-session/restore-stream.c:347:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	media_class += strlen("Stream/");
data/pipewire-0.3.15/src/examples/media-session/stream-endpoint.c:521:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	media_class += strlen("Stream/");
data/pipewire-0.3.15/src/examples/media-session/stream-endpoint.c:525:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		media_class += strlen("Output/");
data/pipewire-0.3.15/src/examples/media-session/stream-endpoint.c:529:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		media_class += strlen("Input/");
data/pipewire-0.3.15/src/modules/module-access.c:74:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((len = read(fd, path, sizeof(path)-1)) < 0) {
data/pipewire-0.3.15/src/modules/module-protocol-native.c:604:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size = offsetof(struct sockaddr_un, sun_path) + strlen(s->addr.sun_path);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/defs.h:331:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        l1 = strlen(s);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/defs.h:332:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        l2 = strlen(sfx);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c:420:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(s) + 1;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/message.c:504:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int l = strlen(it->value);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:1054:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			size_t len = (name ? strlen(name) : 5) + 10;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:1821:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					"%.*s", (int)strlen(source_name)-8, source_name);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:2913:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t size = strlen(name) + 10;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3037:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t size = strlen(name) + 10;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3042:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t size = strlen(name) + 20;
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:3346:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sel.value = strndupa(sel.value, strlen(sel.value)-8);
data/pipewire-0.3.15/src/modules/module-protocol-pulse/pulse-server.c:4249:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size = offsetof(struct sockaddr_un, sun_path) + strlen(server->addr.sun_path);
data/pipewire-0.3.15/src/tools/pw-cli.c:1602:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ilen = strlen(PW_TYPE_INFO_INTERFACE_BASE);
data/pipewire-0.3.15/src/tools/pw-cli.c:1604:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!type || strlen(type) <= ilen ||
data/pipewire-0.3.15/src/tools/pw-cli.c:2725:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			r = read(fd, buf, sizeof(buf)-1);
data/pipewire-0.3.15/src/tools/pw-profiler.c:161:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d->followers[idx].name, name, MAX_NAME);

ANALYSIS SUMMARY:

Hits = 834
Lines analyzed = 219922 in approximately 5.07 seconds (43398 lines/second)
Physical Source Lines of Code (SLOC) = 164316
Hits@level = [0] 947 [1] 124 [2] 504 [3]  84 [4] 119 [5]   3
Hits@level+ = [0+] 1781 [1+] 834 [2+] 710 [3+] 206 [4+] 122 [5+]   3
Hits/KSLOC@level+ = [0+] 10.8389 [1+] 5.07559 [2+] 4.32094 [3+] 1.25368 [4+] 0.742472 [5+] 0.0182575
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.