Bug#1137518: xserver-xspice: Segfault due to incorrect parsing of default values
Frank Heckenbach <[email protected]> Sun, 24 May 2026 18:22:36 +0200
| Newsgroups | gmane.linux.debian.devel.x |
|---|---|
| Message-ID | <E1wRBb2-0000000Gqu4-1GRo__10401.5002421633$1779639931$gmane$org@mars> |
Package: xserver-xspice
Version: 0.1.6-1.1
Severity: grave
Justification: renders package unusable
Tags: patch upstream
As reported upstream:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/work_items?show=eyJpaWQiOiIxNiIsImZ1bGxfcGF0aCI6InhvcmcvZHJpdmVyL3hmODYtdmlkZW8tcXhsIiwiaWQiOjU2NTg2fQ%3D%3D
Since the original report is 4 years old, it may not get fixed
upstream anytime soon, so at least in the meantime you may want to
fix it in Debian:
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -995,6 +995,10 @@
memcpy (qxl->options, DefaultOptions, sizeof (DefaultOptions));
xf86ProcessOptions (scrnIndex, pScrn->options, qxl->options);
+ /* found is wrongly initialized with FALSE, also xf86ProcessOptions resets it to FALSE */
+ for (OptionInfoRec *p = qxl->options; p->name; p++)
+ p->found = TRUE;
+
qxl->enable_image_cache =
get_bool_option (qxl->options, OPTION_ENABLE_IMAGE_CACHE, "QXL_ENABLE_IMAGE_CACHE");
qxl->enable_fallback_cache =
-- System Information:
Debian Release: 13.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xserver-xspice depends on:
ii libc6 2.41-12+deb13u3
ii libspice-server1 0.15.2-1+b1
ii libxfont2 1:2.0.6-1+b3
ii python3 3.13.5-1
ii xserver-xorg 1:7.7+24+deb13u1
ii xserver-xorg-core [xorg-video-abi-25] 2:21.1.16-1.3+deb13u2
xserver-xspice recommends no packages.
xserver-xspice suggests no packages.
-- no debconf information