mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-04 00:48:32 +00:00
Treat all strings from read buffers as gc-tainted
Rule: Copies must be made before retaining the string.
This commit is contained in:
parent
fdbcfe98dd
commit
43ecbff656
6 changed files with 37 additions and 17 deletions
|
@ -198,7 +198,7 @@ func HTTPBackendCachedPublish(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
cmd := CommandPool.Intern(formData.Get("cmd"))
|
||||
cmd := CommandPool.InternCommand(formData.Get("cmd"))
|
||||
json := formData.Get("args")
|
||||
channel := formData.Get("channel")
|
||||
deleteMode := formData.Get("delete") != ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue