mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-02 06:46:29 -04:00
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>
This commit is contained in:
parent
9d2f852ec2
commit
d017fc4837
4 changed files with 31 additions and 24 deletions
1
_codeql_detected_source_root
Symbolic link
1
_codeql_detected_source_root
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue