aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2026-10-14 14:00:31 +0000
committerCismonX <admin@cismon.net>2026-10-14 14:00:31 +0000
commitfaa4b09b9fbbe0080d4db587119056e52831d37f (patch)
treec47c6a3ad58049544b87321b883377b40c883f6a /CHANGELOG.md
parentgrid: reflow: fix two issues when truncating wide characters (diff)
input: no need to strip trailing NULs from keymap
Since libxkbcommon 1.6.0, xkb_keymap_new_from_buffer() allows a NUL-terminated string as keymap text [1]. Also the keymap text cannot have multiple trailing NULs according to the Wayland protocol spec. This also avoids length mismatch for munmap(), which may leak resource when 'size % sysconf(_SC_PAGESIZE) == 1'. Also see the original patch [2] which reported this issue. [1]: https://github.com/xkbcommon/libxkbcommon/commit/b06aedb8ba [2]: https://codeberg.org/dnkl/foot/pulls/2482
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ac3422d5..e6fbae78 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -90,9 +90,11 @@
application exit simultaneously in a short window ([#2432][2432]).
* Crash when a buggy compositor sends an `ime_enter()` event with a
`NULL` surface ([#2467][2467]).
+* Possible memory leak when processing keymap data ([#2482][2482]).
[2342]: https://codeberg.org/dnkl/foot/pulls/2432
[2342]: https://codeberg.org/dnkl/foot/issues/2467
+[2482]: https://codeberg.org/dnkl/foot/pulls/2482
### Security