Skip to content

Fix eval_polyrange() infinite loop on bogus input

Eric Sunshine requested to merge sunshineco/reposurgeon:es/polyrangehang into master

Given a mistyped span (for instance 1.$ or 1...$ instead of the correct 1..$), eval_polyrange() hangs forever, looping infinitely. Fix this by detecting the malformation and reporting the problem.

Merge request reports