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

Infinite loop in GeolocationContextMapping #7433

Closed
jpountz opened this Issue Aug 25, 2014 · 0 comments

Comments

Projects
None yet
3 participants
@jpountz
Contributor

jpountz commented Aug 25, 2014

The parsing logic has the following loop that never terminates:

while (token != Token.END_ARRAY) {
  result.add(GeoUtils.parseGeoPoint(parser).geohash());
}

It misses a token = parser.nextToken(); between iterations.

@jpountz jpountz added bug labels Aug 25, 2014

@clintongormley clintongormley changed the title from Context suggester: infinite loop in GeolocationContextMapping to Suggester: infinite loop in GeolocationContextMapping Sep 8, 2014

@clintongormley clintongormley changed the title from Suggester: infinite loop in GeolocationContextMapping to Suggesters: infinite loop in GeolocationContextMapping Sep 8, 2014

@clintongormley clintongormley changed the title from Suggesters: infinite loop in GeolocationContextMapping to Infinite loop in GeolocationContextMapping Jun 7, 2015

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment