Skip to content
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

IntersectionMatrix: Ignore patterns longer than 9 characters #1089

Merged
merged 2 commits into from
May 21, 2024

Conversation

dbaston
Copy link
Member

@dbaston dbaston commented Apr 30, 2024

Fixes #1084

@dbaston dbaston added the Bug label May 21, 2024
@dbaston dbaston merged commit 72a731a into libgeos:main May 21, 2024
29 checks passed
ensure_equals(2, GEOSRelatePattern(geom1_, geom2_, "0F"));

// pattern has invalid characters
ensure_equals(0, GEOSRelatePattern(geom1_, geom2_, "123456789"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbaston: is it possible the args to ensure_equals are in the wrong order here? (as per https://github.com/libgeos/geos/blob/main/tests/unit/tut/tut_assert.hpp#L159)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, as with many of our tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stack-buffer-overflow related to non-DE9IM argument for GEOSRelatePatternMatch_r
2 participants