aboutsummaryrefslogtreecommitdiffstats
path: root/erts/start_scripts
diff options
context:
space:
mode:
authorJuan Jose Comellas <[email protected]>2013-09-09 14:19:41 -0300
committerJuan Jose Comellas <[email protected]>2013-09-09 14:28:40 -0300
commit49059dbd211987987a7e9d9ef40cc0b2484f829a (patch)
tree98a44f44ccb6cd76c186db5f4e294bc1ddbd506a /erts/start_scripts
parent2f2824519d13e7745c02efbc7c29c37a76885fee (diff)
downloadotp-49059dbd211987987a7e9d9ef40cc0b2484f829a.tar.gz
otp-49059dbd211987987a7e9d9ef40cc0b2484f829a.tar.bz2
otp-49059dbd211987987a7e9d9ef40cc0b2484f829a.zip
Fix incorrect values returned by integer_to_binary/2
When integer_to_binary/2 receives 0 or a negative number as an argument with a base that is different from 10, it will return incorrect values (<<>> in the case of 0) or it will crash (with negative numbers). This commit fixes these problems and adds tests to cover these cases.
Diffstat (limited to 'erts/start_scripts')
0 files changed, 0 insertions, 0 deletions