diff options
| author | Michael Santos <[email protected]> | 2010-10-24 08:37:27 -0400 |
|---|---|---|
| committer | Björn Gustavsson <[email protected]> | 2010-10-26 15:58:22 +0200 |
| commit | 0deea46ce7491e5d8168d3f3730868556b1ee221 (patch) | |
| tree | dc0fd1c5fe9b6beb3f7125b1d6471721988659e2 /lib/stdlib/src/escript.erl | |
| parent | 735dc6c4f7ef51f3ef64ad60382f8a09ca6b9451 (diff) | |
| download | otp-0deea46ce7491e5d8168d3f3730868556b1ee221.tar.gz otp-0deea46ce7491e5d8168d3f3730868556b1ee221.tar.bz2 otp-0deea46ce7491e5d8168d3f3730868556b1ee221.zip | |
Fix crash in string:copies/2
Using a float for the number of copies results in an infinite loop.
Check that the argument is an integer.
Reported-By: Eric Pailleau
Diffstat (limited to 'lib/stdlib/src/escript.erl')
0 files changed, 0 insertions, 0 deletions
