Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 934
    • Issues 934
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • xorgxorg
  • xserverxserver
  • Repository
Switch branch/tag
  • xserver
  • xkb
  • xkb.c
Find file BlameHistoryPermalink
  • FeepingCreature's avatar
    xkb: Avoid length-check failure on empty strings. · 79c572fb
    FeepingCreature authored Aug 20, 2022 and FeepingCreature's avatar FeepingCreature committed Aug 31, 2022
    _XkbCheckRequestBounds assumes that from..to 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.
    79c572fb