mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-19 05:33:44 -04:00
parent
0b9cb6bd2f
commit
c076f03dc4
2 changed files with 8 additions and 0 deletions
|
|
@ -62,6 +62,8 @@
|
||||||
CSI codes in the Kitty keyboard protocol.
|
CSI codes in the Kitty keyboard protocol.
|
||||||
* Assertion in `shm.c:buffer_release()`
|
* Assertion in `shm.c:buffer_release()`
|
||||||
(https://codeberg.org/dnkl/foot/issues/844).
|
(https://codeberg.org/dnkl/foot/issues/844).
|
||||||
|
* Crash when setting a key- or mouse binding to the empty string
|
||||||
|
(https://codeberg.org/dnkl/foot/issues/851).
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
6
config.c
6
config.c
|
|
@ -1726,6 +1726,12 @@ value_to_key_combos(struct context *ctx, int action, struct argv *argv,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (idx == 0) {
|
||||||
|
LOG_CONTEXTUAL_ERR(
|
||||||
|
"empty binding not allowed (set to 'none' to unmap)");
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
|
||||||
remove_from_key_bindings_list(bindings, action, argv);
|
remove_from_key_bindings_list(bindings, action, argv);
|
||||||
|
|
||||||
bindings->arr = xrealloc(
|
bindings->arr = xrealloc(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue