aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-27 17:05:08 +0100
committerSverker Eriksson <[email protected]>2015-03-27 17:05:08 +0100
commitcd80b9205944583ce5a2b7db3f5ec28e25a527a1 (patch)
treea59be55645ed8b7b1e8a050e03291203a56633e8 /erts/emulator/test
parentbe89d435fbde795bcdc62b99529c5f77d42c6b62 (diff)
parentcbceea683c9f718bc6f0140c2402a7f74455ea14 (diff)
downloadotp-cd80b9205944583ce5a2b7db3f5ec28e25a527a1.tar.gz
otp-cd80b9205944583ce5a2b7db3f5ec28e25a527a1.tar.bz2
otp-cd80b9205944583ce5a2b7db3f5ec28e25a527a1.zip
Merge branch 'maint'
Conflicts: lib/stdlib/src/stdlib.appup.src
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/num_bif_SUITE.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/test/num_bif_SUITE.erl b/erts/emulator/test/num_bif_SUITE.erl
index 8cf8377c30..abe5b8eb91 100644
--- a/erts/emulator/test/num_bif_SUITE.erl
+++ b/erts/emulator/test/num_bif_SUITE.erl
@@ -441,7 +441,11 @@ t_string_to_integer(Config) when is_list(Config) ->
{"1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111z",16},
{"1z111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",16},
{"111z11111111",16}]),
-
+
+ %% log2 calculation overflow bug in do_integer_to_list (OTP-12624)
+ %% Would crash with segv
+ 0 = list_to_integer(lists:duplicate(10000000,$0)),
+
ok.
test_sti(Num) ->