mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
Backend: Attempt fixing argument leak when RPC is called without arguments.
This commit is contained in:
parent
e1522456b4
commit
231e2839e8
1 changed files with 1 additions and 0 deletions
|
@ -528,6 +528,7 @@ func UnmarshalClientMessage(data []byte, payloadType int, v interface{}) (err er
|
|||
if spaceIdx == -1 {
|
||||
out.Command = CommandPool.InternCommand(dataStr)
|
||||
out.Arguments = nil
|
||||
out.origArguments = ""
|
||||
return nil
|
||||
} else {
|
||||
out.Command = CommandPool.InternCommand(dataStr[:spaceIdx])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue