sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
333 stars 174 forks source link

Datapack out of bounds #869

Closed Rushaway closed 1 year ago

Rushaway commented 1 year ago

What are the steps to reproduce this issue?

  1. Silence someone via command, with time and reason
  2. Unsilence him with reason
  3. Silence was done but error in logs

What happens?

Command work but return error in logs

What were you expecting to happen?

No datapack errors

Any logs, error output, etc.?

L 03/09/2023 - 20:54:25: SourceMod error session started
L 03/09/2023 - 20:54:25: Info (map "de_mirage") (file "/home//cs_go/csgo/addons/sourcemod/logs/errors_20230309.log")
L 03/09/2023 - 20:54:25: [SM] Exception reported: Invalid data pack position, 16 is out of bounds (6)
L 03/09/2023 - 20:54:25: [SM] Blaming: sbpp_comms.smx
L 03/09/2023 - 20:54:25: [SM] Call stack trace:
L 03/09/2023 - 20:54:25: [SM]   [0] DataPack.Position.set
L 03/09/2023 - 20:54:25: [SM]   [1] Line 1533, sbpp_comms.sp::Query_UnBlockSelect
L 03/09/2023 - 21:05:52: Error log file session closed.

Any other comments?

Reported on discord by KA1ZER#0666 I was able to reproduct the issue on my server aswell.

What versions of software are you using?

Operating System: Ubuntu 20.04 SourceBans++ Version: 1.8.0 SourceMod Version: 1.11 MetaMod Version: 1.11