Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17.x port - Stop DOS attacks by making the lexer stop early on evil input #2902

Merged
merged 3 commits into from Jul 26, 2022

Commits on Jul 26, 2022

  1. 17.x port - Stop DOS attacks by making the lexer stop early on evil i…

    …nput
    
    * This stops DOS attacks by making the lexer stop early.
    
    * This stops DOS attacks by making the lexer stop early. Added BadSituationsRunner
    
    * This stops DOS attacks by making the lexer stop early. Added BadSituationsRunner with comments
    
    * This stops DOS attacks by making the lexer stop early. Added per query jvm settings
    
    * This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts
    
    * This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts - tweaks
    
    * This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts - tweaks
    
    * This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts - tweaks
    
    * This stops DOS attacks by making the lexer stop early.Use array instead of map
    
    * This stops DOS attacks by making the lexer stop early.Use array instead of map with comments
    
    * PR feedback - renamed options and added SDL options
    # Conflicts:
    #	src/main/java/graphql/ParseAndValidate.java
    #	src/main/java/graphql/parser/GraphqlAntlrToLanguage.java
    #	src/main/java/graphql/parser/Parser.java
    #	src/main/java/graphql/parser/ParserOptions.java
    #	src/main/java/graphql/schema/idl/SchemaParser.java
    #	src/test/groovy/graphql/parser/ParserTest.groovy
    bbakerman committed Jul 26, 2022
    Copy the full SHA
    7236a6a View commit details
    Browse the repository at this point in the history
  2. PR build

    bbakerman committed Jul 26, 2022
    Copy the full SHA
    6643a40 View commit details
    Browse the repository at this point in the history
  3. Reset after set options

    bbakerman committed Jul 26, 2022
    Copy the full SHA
    0956a39 View commit details
    Browse the repository at this point in the history