copilot-swe-agent[bot]
d017fc4837
Address code review feedback on security fixes
...
- Fix buffer size for strncpy to match actual buffer (32 bytes)
- Use strtoul instead of strtol for unsigned color values
- Improve strncat bounds checking with accurate length tracking
- Free wordexp results immediately after use instead of batching
- Add strdup for wordexp strings to avoid use-after-free
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:57:08 +00:00
copilot-swe-agent[bot]
9d2f852ec2
Fix critical buffer overflow and memory leak vulnerabilities
...
- Replace unsafe strcpy() with strncpy() in fetch/common.h
- Replace unsafe strcpy() with strncpy() in config parsing
- Fix buffer overflow from strcat() by adding bounds checking
- Fix memory leak by adding wordfree() for wordexp results
- Add integer overflow validation for strtol() calls
- Add errno checking for all strtol conversions
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:54:42 +00:00
DreamMaoMao
91110efe0e
Merge pull request #645 from jampe/feature-config-isfakefullscreen
...
support isfakefullscreen as windowrule property
2026-02-14 08:46:23 +08:00
DreamMaoMao
53ee82a726
feat: make force_tiled_state as a option
2026-02-12 11:19:39 +08:00
DreamMaoMao
783cb86c56
feat: support match monitor make model serial
2026-02-10 10:31:31 +08:00
DreamMaoMao
b05bc1ce65
opt: add btn_left and btn_right bind check in config check
2026-02-09 11:50:54 +08:00
Daniel Jampen
454145f6e0
support isfakefullscreen as windowrule property
2026-02-08 17:56:26 +01:00
Lin Xianyi
5de87db8ca
feat: add a source-optional keyword
2026-02-08 11:15:16 +08:00
Lin Xianyi
818652d20f
fix: -p exits with failure if there are parse failures
2026-02-07 12:12:13 +08:00
DreamMaoMao
00a7e579c9
fix: miss reset root color when reload config
2026-02-06 07:43:09 +08:00
DreamMaoMao
8e898417a7
opt: key name case insensitive in keybind
2026-02-05 11:06:52 +08:00
DreamMaoMao
65fcd58949
opt: optimize file detect message
2026-02-04 21:50:44 +08:00
DreamMaoMao
8ba259fbb7
opt: avoid opacity flickering in focus animation when open new window
2026-02-04 09:45:26 +08:00
quadratic
336f873d83
fix: uninitialised argument fields when calling mmsg -d
2026-02-03 21:11:41 +01:00
DreamMaoMao
50b67ac539
fix: miss init arg value
2026-02-03 10:15:42 +08:00
DreamMaoMao
0546a2d4c4
opt: allow use comma symbol in spawn shell value
2026-02-03 10:06:26 +08:00
DreamMaoMao
bcee63fa76
feat: add config check in mango cli
2026-02-02 14:54:09 +08:00
DreamMaoMao
672706c71f
fix: not apply vrr disalbe when enable it at the beginning
2026-01-29 11:58:28 +08:00
DreamMaoMao
30692f6da0
feat: add option hotarea_corner
2026-01-28 09:39:27 +08:00
DreamMaoMao
2e6e23633e
break change: remove useless option adaptive_sync
2026-01-28 09:39:27 +08:00
DreamMaoMao
6624d80522
break change: new monitorrule format
2026-01-28 09:39:27 +08:00
DreamMaoMao
49921eadfa
feat: add drag_corner drag_warp_cursor
2026-01-21 13:54:55 +08:00
nixpup
e0d69ece59
feat: add scroller stack support
2026-01-18 20:06:27 +08:00
DreamMaoMao
2771053ee6
opt: animations logic all use the int type
...
avoid the coordinates being forcibly limited to positive numbers
2026-01-03 09:37:34 +08:00
DreamMaoMao
89e0805d54
opt: optimize code struct
2026-01-01 12:26:19 +08:00
DreamMaoMao
471c71f65c
feat: add windowrule option isnoradius
2025-12-20 11:39:53 +08:00
DreamMaoMao
e26e477d6b
Merge pull request #523 from meeeee3/scroll-factor
...
feat: add wheel scroll factor
2025-12-19 16:43:50 +08:00
meeeee3
a8f7dc3e68
feat: add wheel scroll factor
2025-12-19 16:43:21 +08:00
DreamMaoMao
f54d7b3483
break change: inhibit_regardless_of_visibility rename to idleinhibit_ignore_visible
2025-12-19 14:40:32 +08:00
DreamMaoMao
0f861e79a0
fix: avoid using old cursor_mgr in cursor timer
2025-12-13 18:21:58 +08:00
DreamMaoMao
fa4eb322b6
fix: crash when reload_config
2025-12-12 15:41:26 +08:00
DreamMaoMao
91f4604199
feat: add fadein fadeout curve
2025-12-12 12:14:18 +08:00
DreamMaoMao
64d350ee9b
feat: add bing flag p
2025-12-10 20:11:55 +08:00
DreamMaoMao
02377e2867
fix: change u_int32_t to uint32_t
2025-12-03 18:15:35 +08:00
DreamMaoMao
e965264f3b
fix: dont use evenmask
2025-12-03 17:22:27 +08:00
DreamMaoMao
5c314be8c6
break change: remove autostar.sh and MANGOCONFIG env
2025-12-03 16:22:13 +08:00
DreamMaoMao
1ffdc1ef38
feat: support -c option to specified config file
2025-12-03 16:12:05 +08:00
DreamMaoMao
559de3c66b
feat: support view multi tag in view dispatch
2025-12-03 09:11:17 +08:00
DreamMaoMao
b9952f03b5
opt: change unsigned int to uint32_t
2025-12-02 16:57:24 +08:00
DreamMaoMao
9196e2a50b
opt: use event mask to decide whether print ipc message
2025-12-02 16:46:11 +08:00
DreamMaoMao
7c7a9437e6
opt: optimize option name transparent_wlr_lock to allow_lock_transparent
2025-11-29 16:31:09 +08:00
Rexiel Scarlet
006cf46c52
feat: support transparent wlr session lock
2025-11-29 16:22:19 +08:00
DreamMaoMao
e22cf99e74
feat: support relative path for source keyword
2025-11-20 10:34:32 +08:00
DreamMaoMao
58d5938e14
opt: support hot reload cursor config
2025-11-19 12:41:03 +08:00
DreamMaoMao
407c9d74a4
feat: add windowrule option scroller_proportion_single
2025-11-19 12:41:03 +08:00
DreamMaoMao
514c916678
opt: optimize code struct
2025-11-19 12:41:03 +08:00
DreamMaoMao
16296898ce
fix: tagrule not apply correctly
2025-11-19 12:41:03 +08:00
DreamMaoMao
e09748764d
opt: remove useless normalize keysym convert
2025-11-19 12:41:03 +08:00
DreamMaoMao
9d6436cf42
feat: support keyboard shortcut inhibitor
2025-11-19 12:41:03 +08:00
DreamMaoMao
8875156760
feat: support nofucs rule for some special window
2025-11-19 12:41:03 +08:00