Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bjorng
Copy link
Contributor

@bjorng bjorng commented Feb 20, 2023

Let list_to_integer/1 and list_to_integer/2 raise a system_limit exception when the result doesn't fit in a bignum. Let string:to_integer/1 return {error,system_limit} when the result doesn't fit.

@bjorng bjorng added team:VM Assigned to OTP team VM fix testing currently being tested, tag is used by OTP internal CI labels Feb 20, 2023
@bjorng bjorng self-assigned this Feb 20, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2023

CT Test Results

       3 files     125 suites   41m 26s ⏱️
1 503 tests 1 452 ✔️ 51 💤 0
1 815 runs  1 746 ✔️ 69 💤 0

Results for commit 47ef614.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@bjorng bjorng changed the title lists_to_integer() & friends: Don't crash for overlong lists list_to_integer() & friends: Don't crash for overlong lists Feb 20, 2023
Let `list_to_integer/1` and `list_to_integer/2` raise a `system_limit`
exception when the result doesn't fit in a bignum. Let
`string:to_integer/1` return `{error,system_limit}` when the result
doesn't fit.
@bjorng bjorng force-pushed the bjorn/erts/fix-list_to_integer/OTP-18475 branch from 5505887 to 47ef614 Compare February 22, 2023 08:11
@bjorng bjorng merged commit 4fd557c into erlang:maint Feb 23, 2023
@bjorng bjorng deleted the bjorn/erts/fix-list_to_integer/OTP-18475 branch February 23, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant