Infinite loop in `range_lexer::get_next_token`

#45 · closed · 1 comments

View on GitHub ↗

skhrshin

As I attempted to compare a version with range `"*"` by `semver::range::satisfies`, it got stuck with infinite loop in `semver::range::detail::range::range_lexer::get_next_token`. I'm not sure if `"*"` is correct as a range, however, it should report an error if not and shouldn't freeze or crash. Tested with v0.3.1

Comments

Neargye

Hi, you can test the new version. Please open new issues if any problems.