diff options
| author | elbachir-one <bachiralfa@gmail.com> | 2025-06-26 15:57:35 +0100 |
|---|---|---|
| committer | elbachir-one <bachiralfa@gmail.com> | 2025-06-26 15:57:44 +0100 |
| commit | aeee7bd1187ff1654bf271011efd8e42e2bbe527 (patch) | |
| tree | bbe7ce11c595e2b67cebb25c86aee57fe2149039 /images | |
| parent | 9b7a160dfdbf54f18fd478794cb24152ed1b040d (diff) | |
Refactor keybinding configuration and parsing logic
- Added MAX_BINDS macro to replace magic number (256) in alloc_bind
- Fixed potential null dereference in strip() on empty strings
- Corrected redundant KeySym assignment in parse_combo()
- Improved clarity and maintainability of call_table and helper functions
- Ensured safe string handling with proper bounds and terminators
- Added fallback logic for unknown key symbols using parse_keysym()
- Proper bounds checks on buffers and allocations
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions
