Hiltjo Posthuma 61e0072c3e 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.
2026-09-13 20:48:49 +02:00
2016-02-23 00:31:03 +01:00
2025-08-09 14:33:40 +02:00
2019-02-12 22:13:58 +01:00
2025-09-29 18:47:16 +02:00
2025-09-27 12:10:37 +02:00
2022-02-11 12:26:35 +01:00
2023-09-22 15:16:44 +02:00
2010-11-11 23:56:39 +00:00

dmenu - dynamic menu
====================
dmenu is an efficient dynamic menu for X.


Requirements
------------
In order to build dmenu you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (dmenu is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install dmenu
(if necessary as root):

    make clean install


Running dmenu
-------------
See the man page for details.
Description
No description provided
Readme MIT 1.3 MiB
Languages
C 84%
Roff 10.4%
Makefile 5%
Shell 0.6%