diff options
| author | elbachir-one <bachiralfa@gmail.com> | 2025-06-25 13:22:48 +0100 |
|---|---|---|
| committer | elbachir-one <bachiralfa@gmail.com> | 2025-06-25 13:23:21 +0100 |
| commit | e036d683fdfdef8d7b8b02eca7d56826620ea43b (patch) | |
| tree | cbc53e278ee50351076cd64bddde884360039cfa /LICENSE | |
| parent | 9c2ed0550d02711b073544351a531148be88e96f (diff) | |
Improve safety in toggle_scratchpad() and remove_scratchpad()
- Added bounds check using MAX_SCRATCHPADS to prevent out-of-range access.
- Stored scratchpad client in a local variable for clarity.
- Guarded against null `focused` pointer before using it.
- Enhances stability and prevents potential crashes.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions
