-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Token limit fix CVE-2023-49559 (#291)
* Add directive limit to prevent overloading * Added token limit to parser for query and schema parsing, removed my previous directive limit * Added token limit to parser for query and schema parsing, removed my previous directive limit * Update parser/parser.go * Update parser/parser.go * Update parser/query.go * Fix lint Signed-off-by: Steve Coffman <steve@khanacademy.org> --------- Signed-off-by: Steve Coffman <steve@khanacademy.org> Co-authored-by: Yuval Moravchick <yuval.moravchick@catonetworks.com> Co-authored-by: Steve Coffman <StevenACoffman@users.noreply.github.com> Co-authored-by: Steve Coffman <steve@khanacademy.org>
- Loading branch information
1 parent
6db1bd3
commit d457fc0
Showing
4 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters