Skip to content

v15.46.0

Choose a tag to compare

@spawnia spawnia released this 03 Dec 14:28

Added

Fixed

  • Denial of Service via memory exhaustion in Source::getLocation() when locating an error after many lines, and via CPU time when locating or printing many errors in a large document GHSA-f74w-4g25-pc7p
  • Error columns after lines with multibyte characters GHSA-f74w-4g25-pc7p
  • Error locations count only CR, LF and CRLF as line terminators, not U+2028 and U+2029, matching the GraphQL specification and graphql-js GHSA-f74w-4g25-pc7p
  • Source::getLocation() keeps a position between CR and LF on the preceding line, like graphql-js GHSA-f74w-4g25-pc7p