Skip to content

encoding/mvt: verify tile coord does not overflow for z > 20#74

Merged
paulmach merged 1 commit intomasterfrom
pm/z21-overflow
Oct 16, 2021
Merged

encoding/mvt: verify tile coord does not overflow for z > 20#74
paulmach merged 1 commit intomasterfrom
pm/z21-overflow

Conversation

@paulmach
Copy link
Copy Markdown
Owner

fixes #71

Due to the use of uint32 types, there is an overflow when going from zoom > 20 tiles to the z+12 tile coord space. That space could be 33+ bits, so need a bigger type.

@paulmach paulmach merged commit 418be84 into master Oct 16, 2021
@paulmach paulmach deleted the pm/z21-overflow branch October 16, 2021 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tile level (>20), mercator(minx,miny) will overflow

1 participant