2
0
Fork 0
forked from zynk/zynk
zynk/CHANGELOG.md
2026-07-16 03:07:33 +02:00

1.1 KiB
Raw Blame History

2026.07.15 – Numerous optimizations and fixes.

  • Fixed DB/TLS resource cleanup on partial startup failures and normal shutdown.
  • Fixed net_send() stack over-read risk when vsnprintf() truncates.
  • Fixed curl/opencode pipe readers so oversized output cannot deadlock the bot.
  • Fixed !code AI agent propagation into the forked child.
  • Added CR/LF rejection for startup IRC args to prevent local IRC command injection.
  • Normalized weather/forecast city input before building wttr.in URLs.
  • Fixed IRC op cache bugs around nick changes and long NAMES entries.
  • Added !version command to report the bot's version via IRC.
  • Fixed the malformed VERSION macro definition to ensure successful builds.
  • Added !help command to list available bot commands.
  • Added -opencode command-line option to set the path to the opencode binary, overriding OPENCODE_BIN.
  • Hardened IRC sending: strip control characters from messages and sanitize targets to prevent IRC injection.
  • Sanitized JOIN/NICK targets and PONG payload to avoid injection via CR/LF or control chars.
  • Validated -opencode path at startup to reject control characters.