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

add bounds checking for type conversions to signed int types #28

Open
dipinhora opened this issue Sep 19, 2017 · 0 comments
Open

add bounds checking for type conversions to signed int types #28

dipinhora opened this issue Sep 19, 2017 · 0 comments

Comments

@dipinhora
Copy link
Contributor

There are some type conversions happening where overflows could occur. Bounds checking should be added for these situations to ensure correct results. It might be worth considering only adding bounds checking as part of a debug build to minimize negative impact on performance for production builds.

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

No branches or pull requests

1 participant