Skip to content

Fix RCON issues: crashes, memory leaks, and display bugs#255

Open
fred0r wants to merge 2 commits intoXQF:masterfrom
fred0r:slop
Open

Fix RCON issues: crashes, memory leaks, and display bugs#255
fred0r wants to merge 2 commits intoXQF:masterfrom
fred0r:slop

Conversation

@fred0r
Copy link
Copy Markdown

@fred0r fred0r commented Apr 7, 2026

  • Fix crash when adding RCON password (dangling pointer)
  • Duplicate rcon_challenge to prevent invalid memory access
  • Add const qualifiers to fix compiler warnings
  • Append RCON output instead of replacing (see all plugins)
  • Read all available RCON packets in callback loop (fix partial data)

fred added 2 commits April 7, 2026 09:59
- Fix crash when adding RCON password (dangling pointer)
- Duplicate rcon_challenge to prevent invalid memory access
- Add const qualifiers to fix compiler warnings
- Append RCON output instead of replacing (see all plugins)
- Read all available RCON packets in callback loop (fix partial data)
Store actual message size from rcon_receive() and use it instead of
strlen() in rcon_input_callback(). This fixes truncation when AMX Mod X
plugin output contains embedded null bytes as column separators.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant