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

Fix AABBTree::rebuild() crashing when the tree contains a single geom #59

Merged
merged 1 commit into from Dec 21, 2017

Conversation

Projects
None yet
2 participants
@ppiastucki

ppiastucki commented Dec 21, 2017

The new array should be allocated with a proper length rather than 0 as it leads to ArrayIndexOutOfBoundsException when the tree contains just 1 geom.

@tzaeschke tzaeschke merged commit 1ae5a72 into tzaeschke:master Dec 21, 2017

@tzaeschke

This comment has been minimized.

Show comment
Hide comment
@tzaeschke

tzaeschke Dec 21, 2017

Owner

Okay, I pushed a new maven snapshot release. If you find time, maybe you could add a small JUnit test?

Owner

tzaeschke commented Dec 21, 2017

Okay, I pushed a new maven snapshot release. If you find time, maybe you could add a small JUnit test?

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