mirror of
git://git.suckless.org/dmenu
synced 2026-09-23 00:16:30 +01:00
keypress, check if len > 0 just in case before reading buf
I'm not sure if this can happen, but check it just in case: Maybe possible when: len = XmbLookupString(xic, ev, buf, sizeof buf, &ksym, &status); len == 0 and case XLookupChars would be executed on a keypress. Reported by: jb19357 <jb19357@protonmail.com> Who used Claude to write a report. I cannot reproduce this issue, but it seems logical.
This commit is contained in:
parent
0785a28f1d
commit
61e0072c3e
Loading…
x
Reference in New Issue
Block a user