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

update pmtiles.hpp from upstream #98

Merged
merged 1 commit into from
May 4, 2023
Merged

Conversation

bdon
Copy link
Contributor

@bdon bdon commented May 3, 2023

This resolves an off-by-one problem caused by specific entry set lengths and could result in garbage entries being created if that condition is reached, described here in Go: protomaps/go-pmtiles#49

* remove unused code [felt#93]

* fix OOB caused by specific entry set lengths

* add more checks for valid tile IDs
@e-n-f
Copy link
Collaborator

e-n-f commented May 4, 2023

Thanks for the fix!

@e-n-f e-n-f merged commit e43d6da into felt:main May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants