Commit 1db5c15
committed
Fix for issue #1993
This patch fixes this bug which caused corrupted stack by preventing unnecessary double to ascii conversion even if
the convertible number of digits is higher than allowed.
In addition, improved ecma_double_to_binary_floating_point function by removing a needless buffer.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu1 parent 8ae6592 commit 1db5c15
File tree
2 files changed
+30
-12
lines changed- jerry-core/ecma/base
- tests/jerry
2 files changed
+30
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
| 984 | + | |
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
987 | | - | |
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
| |||
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | | - | |
| 1020 | + | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
1026 | | - | |
| 1025 | + | |
1027 | 1026 | | |
1028 | 1027 | | |
1029 | 1028 | | |
1030 | 1029 | | |
1031 | 1030 | | |
1032 | 1031 | | |
1033 | | - | |
| 1032 | + | |
1034 | 1033 | | |
1035 | 1034 | | |
1036 | 1035 | | |
1037 | | - | |
| 1036 | + | |
1038 | 1037 | | |
1039 | 1038 | | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1045 | 1043 | | |
1046 | 1044 | | |
1047 | 1045 | | |
1048 | | - | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1049 | 1052 | | |
1050 | 1053 | | |
1051 | 1054 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments