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

DbSearcher overflow #83

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

DbSearcher overflow #83

wants to merge 25 commits into from

Conversation

nwpulei
Copy link

@nwpulei nwpulei commented Oct 15, 2018

The code computes the average of two integers using either division or signed right shift, and then uses the result as the index of an array. If the values being averaged are very large, this can overflow (resulting in the computation of a negative average).

zhuangya and others added 25 commits April 14, 2017 12:47
Golang binding 增加控制台实例
Merge pull request !4 from Wilson Wang/master
…r signed right shift, and then uses the result as the index of an array. If the values being averaged are very large, this can overflow (resulting in the computation of a negative average).
@fred79888451609
Copy link

This is really impressive work, great job!

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

7 participants