mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xkb: actually initialise sli before using it.
This commit is contained in:
@@ -3356,6 +3356,11 @@ _XkbSetNamedIndicator(ClientPtr client, DeviceIntPtr dev,
|
||||
if (rc != Success || !map) /* oh-oh */
|
||||
return rc;
|
||||
|
||||
sli = XkbFindSrvLedInfo(dev, stuff->ledClass, stuff->ledID,
|
||||
XkbXI_IndicatorsMask);
|
||||
if (!sli)
|
||||
return BadAlloc;
|
||||
|
||||
namec = mapc = statec = 0;
|
||||
extDevReason = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user