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

conv.ToInt: return -1 instead of overflowing on 32-bit systems #1216

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

hairyhenderson
Copy link
Owner

Protecting against CWE-190 and CWE-681.

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson self-assigned this Sep 24, 2021
@hairyhenderson hairyhenderson enabled auto-merge (squash) September 24, 2021 00:43
@hairyhenderson hairyhenderson force-pushed the conv-toint-32-bit-bounds-check branch from b2901f8 to 9778b35 Compare September 24, 2021 01:03
@hairyhenderson hairyhenderson force-pushed the conv-toint-32-bit-bounds-check branch from 9778b35 to ba92cf5 Compare September 24, 2021 01:33
@hairyhenderson hairyhenderson merged commit dc1c992 into master Sep 24, 2021
@hairyhenderson hairyhenderson deleted the conv-toint-32-bit-bounds-check branch September 24, 2021 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant