mirror of
https://github.com/aykhans/sarin.git
synced 2026-10-17 22:53:52 +00:00
fix(script): bound how deep json.encode walks a Lua table
This commit is contained in:
2 files changed
+12
No files matched your search
@@ -442,6 +442,7 @@ var (
|
||||
ErrScriptHTTPURLInvalid = errors.New("URL must be an absolute http or https URL")
|
||||
ErrScriptHTTPUnknownOption = errors.New("unknown option")
|
||||
ErrScriptJSONCycle = errors.New("cannot encode a table that contains itself")
|
||||
ErrScriptJSONDepth = errors.New("cannot encode a table nested too deeply")
|
||||
)
|
||||
|
||||
type ScriptTypeError struct {
|
||||
|
||||
Reference in new issue
Block a user