2
0
Fork 0
forked from zynk/zynk

Some more security fixes.

This commit is contained in:
Johannes Findeisen 2026-07-16 03:43:00 +02:00
commit a6ee428f7b
2 changed files with 24 additions and 10 deletions

View file

@ -1,3 +1,10 @@
2026.07.16 – Security hardening.
- Fixed buffer overflow in ai_child_task: plen unsigned underflow when history entries exceed prefix buffer size, causing out-of-bounds writes via snprintf.
- Fixed IRC injection in handle_nick_change: validate new nick for CRLF and control characters before storing in op cache.
- Fixed control char leak in irc_msg: drop message on strdup failure instead of sending unsanitized input on the wire.
- Fixed CRLF/control char injection in -pass argument: reject passwords containing control characters at startup.
2026.07.15 – Numerous optimizations and fixes.
- Fixed DB/TLS resource cleanup on partial startup failures and normal shutdown.