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

fix: lower hashing constant to avoid overflow #617

Merged
merged 1 commit into from
May 2, 2023

Conversation

noahdietz
Copy link
Collaborator

For some reason, certain APIs would trigger an integer overflow in Vector::getHash, forcing a float type coercion by PHP, which is deprecated, resulting in Deprecated warnings being emitted on stdout, ruining protoc plugin output.

This is a partial fix, because we should probably figure out how to also disable language deprecation warnings (or at least redirect to stderr) in the googleapis.

@noahdietz noahdietz requested review from a team as code owners May 2, 2023 02:52
@noahdietz noahdietz merged commit b05d16f into googleapis:main May 2, 2023
4 checks passed
@noahdietz noahdietz deleted the fix-hash-overflow branch May 2, 2023 03:31
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.

None yet

2 participants