Skip to content

xkb: Avoid length-check failure on empty strings.

FeepingCreature requested to merge FeepingCreature/xserver:master into master

_XkbCheckRequestBounds assumes that is at least one byte. However, request strings can be empty, causing spurious failures in XkbGetKbdByName calls. To avoid this, before checking bounds make sure that the length is nonzero.

Edited by FeepingCreature

Merge request reports