From ac10525a89a0349bc1b4fed5f48045fd3476762d Mon Sep 17 00:00:00 2001 From: elbachir-one Date: Sat, 7 Jun 2025 03:50:35 +0100 Subject: 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. --- default_sxwmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default_sxwmrc') diff --git a/default_sxwmrc b/default_sxwmrc index 89cf67d..c0cb057 100644 --- a/default_sxwmrc +++ b/default_sxwmrc @@ -12,7 +12,7 @@ resize_stack_amt : 20 snap_distance : 5 motion_throttle : 60 # Set to screen refresh rate for smoothest motions should_float : "pcmanfm" -new_win_focus : true +new_win_focus : true warp_cursor : true # Keybinds: -- cgit v1.2.3