xserver/hw/xfree86/modes
Matthieu Herrb 8a46a463f6 Initialize Mode->name in xf86CVTMode()
This was overlooked when converting the function to use libxcvt.
Bring back name initialization from old code.

This was causing a segfault in xf86LookupMode() if modes where
name is NULL are present the modePool list.

Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
---
(cherry picked from ed11c4d443)

Reported-by: "Sergiy" <Black_N@ukr.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1319>
2024-02-23 00:01:10 +00:00
..
Makefile.am xfree86: Move xf86CVTMode() function 2021-08-06 11:29:29 +00:00
meson.build xfree86: Move xf86CVTMode() function 2021-08-06 11:29:29 +00:00
xf86Crtc.c Revert "hw/xfree86: Propagate physical dimensions from DRM connector" 2021-12-03 03:10:06 +02:00
xf86Crtc.h Make xf86CompatOutput() return NULL when there are no privates 2021-11-06 19:06:20 +02:00
xf86Cursors.c Add RandR leases with modesetting driver support [v6] 2018-02-27 12:39:50 -05:00
xf86DiDGA.c xserver: Unifdef HAVE_CONFIG_H 2017-03-23 13:19:51 -04:00
xf86EdidModes.c Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
xf86Modes.c Initialize Mode->name in xf86CVTMode() 2024-02-23 00:01:10 +00:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c Revert "hw/xfree86: Propagate physical dimensions from DRM connector" 2021-12-03 03:10:06 +02:00
xf86RandR12.h xfree86: Hook up colormaps and RandR 1.2 gamma code v6 2016-07-28 10:12:05 +09:00
xf86Rotate.c xserver/output: rename some badly named variables/APIs. 2020-07-10 06:17:44 +10:00
xf86gtf.c xserver: Unifdef HAVE_CONFIG_H 2017-03-23 13:19:51 -04:00