diff options
| author | elbachir-one <bachiralfa@gmail.com> | 2025-06-07 03:50:35 +0100 |
|---|---|---|
| committer | elbachir-one <bachiralfa@gmail.com> | 2025-06-07 15:00:05 +0100 |
| commit | ac10525a89a0349bc1b4fed5f48045fd3476762d (patch) | |
| tree | fc28702df40d5b580b4c0e19a5f148f5dfcd52a6 /src/sxwm.c | |
| parent | ac68ac42bf84b0ff3fc669708708de3b20549d3b (diff) | |
Fix memory leaks, buffer overflows, and add resource cleanup in parser()
- Fixed potential memory leaks in `should_float` allocation and exec command duplication.
- Prevented buffer overflows by using `snprintf` and properly bounded copies.
- Ensured all allocated memory is freed on parser failure for robust cleanup.
Diffstat (limited to 'src/sxwm.c')
0 files changed, 0 insertions, 0 deletions
