Skip to content
This repository was archived by the owner on May 16, 2022. It is now read-only.

Fixed bug in binary search: replaced signed with unsigned comparison.#188

Open
svpetry wants to merge 1 commit intoneuecc:masterfrom
svpetry:FixBinarySearch
Open

Fixed bug in binary search: replaced signed with unsigned comparison.#188
svpetry wants to merge 1 commit intoneuecc:masterfrom
svpetry:FixBinarySearch

Conversation

@svpetry
Copy link
Copy Markdown

@svpetry svpetry commented Jan 23, 2020

I found a bug in the code generation for the binary search in AutomataDictionary. A signed comparison is emitted where an unsigned one is needed. This can lead to strange situations where random fields are not deserialized dependent on their naming.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant