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

Make binary search overflow safe #153

Merged

Conversation

r-barnes
Copy link
Contributor

Our internal static analysis flags potentially unsafe midpoint
calculations. The proposed fix ensures the binary search doesn't
overflow at the cost of a single additional operation.

Our internal static analysis flags potentially unsafe midpoint
calculations. The proposed fix ensures the binary search doesn't
overflow at the cost of a single additional operation.
@adam-sawicki-a adam-sawicki-a merged commit 4dc4abf into GPUOpen-LibrariesAndSDKs:master Oct 29, 2020
@adam-sawicki-a
Copy link
Contributor

Thank you for this contribution and for running static analysis on the code.

expipiplus1 pushed a commit to expipiplus1/vulkan that referenced this pull request Nov 12, 2020
- Bump VMA
  - Documentation chages
  - Potential overflow fix GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator#153
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