File: 50-fix-segfault-missing-pipewire-config.diff

package info (click to toggle)
mumble 1.5.735-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 89,984 kB
  • sloc: cpp: 556,921; ansic: 81,664; python: 3,606; sh: 659; makefile: 506; asm: 371; cs: 306; sql: 228; javascript: 143; perl: 80; xml: 13
file content (18 lines) | stat: -rw-r--r-- 542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Mumble will segfault if Mumble finds the PipeWire library but
 the configuration for PipeWire is missing due to a typo in a variable name
Author: Davide Beatrici <me@davidebeatrici.dev>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091358
Forwarded: https://github.com/mumble-voip/mumble/pull/6852
Last-Update: 2025-06-30

--- a/src/mumble/PipeWire.cpp
+++ b/src/mumble/PipeWire.cpp
@@ -289,7 +289,7 @@
 }
 
 void PipeWireEngine::stop() {
-	if (m_loop) {
+	if (m_thread) {
 		pws->pw_thread_loop_stop(m_thread);
 	}
 }