curbmap/OpenLocationCode-swift

Enforce internal max code length

zongweil opened this issue · 5 comments

Hello!

I'm one of the OLC maintainers and we are in the process of updating all the implementations to limit the number of digits processed to avoid underflow errors. Take a look at google/open-location-code#190 for more details and examples.

Is this something you would be able to take care of for your implementation?

Yes. Will do right now. Also, will update the project to swift 4.2. I've been meaning to.

Thanks for the quick action! I added a couple of comments on your commit - happy to continue the discussion.

Should be complete in 0.5.5 (including the comment changes :-) )

Thanks! :)

This is fixed here ccc5a0a and already released