Menu ▾ ▴

Code Merge Request #5: aalib: Size key_down by NR_KEYS in the Linux keyboard driver (open)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

Anders Kaseorg wants to merge 1 commit from /u/anders0/aa-project/ to master, 2026-10-06

blank_key_down clears NR_KEYS entries, but key_down had only 128. NR_KEYS is 256 on current kernels, so this overwrote the neighbouring static variables every time the keyboard was reset.

Commit Date  
[78364a] (aalib-linuxkbd-key-down) by Anders Kaseorg Anders Kaseorg

aalib: Size key_down by NR_KEYS in the Linux keyboard driver.

blank_key_down clears NR_KEYS entries, but key_down had only 128.
NR_KEYS is 256 on current kernels, so this overwrote the neighbouring
static variables every time the keyboard was reset.

Co-Authored-By: Claude Opus 5.5 <noreply@...>

2026-10-05 23:52:13 Tree

Discussion


Log in to post a comment.