xserver/hw
Mikhail Dmitrichenko b096785df4 xwayland: Fix search of duplicate lease names
Commit d36f66f15d ("Check for duplicate output names") would walk the
list of existing outputs and leases to check that no other existing
output has the same name.

The change however, inadvertently reused the regular screen outputs when
searching the leased names.

Fix this by using the lease name, not the regular output names that we
already checked just above.

Found by SAST tool Svace.

Fixes: d36f66f15d - xwayland: Check for duplicate output names
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1843
Reviewed-by Olivier Fourdan <ofourdan@redhat.com>

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko222@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2063>
2025-09-18 09:55:47 +00:00
..
kdrive Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
vfb Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
xfree86 Revert "dix: unexport cursor refcounting functions" 2025-09-06 17:01:39 +00:00
xnest Revert "dix: unexport NewCurrentScreen()" 2025-09-06 17:01:37 +00:00
xquartz Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
xwayland xwayland: Fix search of duplicate lease names 2025-09-18 09:55:47 +00:00
xwin Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
meson.build meson.build: print a summary of the DDX to build 2025-03-24 03:05:35 +00:00