• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

graphql-go / graphql / 2014
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix/support-all-integer-types-in-util-bind
DEFAULT BRANCH: master
Ran 18 Aug 2026 05:52PM UTC
Jobs 1
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Aug 2026 05:50PM UTC coverage: 95.813% (-0.001%) from 95.814%
2014

Pull #756

circleci

ChrisJr404
parser: bound recursion depth to prevent stack exhaustion on deeply nested input

The recursive-descent parser had no limit on nesting depth. A document with
deeply nested list values, object values, selection sets, or list types (for
example "{f(a:[[[[...") drives parseValueLiteral/parseSelectionSet/parseType
into unbounded recursion. On sufficiently nested input this exhausts the
goroutine stack and aborts the process with a fatal "stack overflow", and well
before that the repeated stack growth makes parsing time grow super-linearly.
Since Parse operates on untrusted client-supplied documents, this lets a small
request take down a server.

Track the current nesting depth on the parser and return a syntax error once it
exceeds a fixed limit that is far higher than any realistic document needs.
Pull Request #756: parser: bound recursion depth to prevent stack exhaustion on deeply nested input

21 of 21 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

9360 of 9769 relevant lines covered (95.81%)

2848.07 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.73
-0.27% executor.go
Jobs
ID Job ID Ran Files Coverage
1 2014.1 18 Aug 2026 05:52PM UTC 31
95.81
CircleCI Job
Source Files on build 2014
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #2014
  • Pull Request #756
  • PR Base - master (#2012)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc