Commit 91c5e29
committed
Test Stream::parseFloat() with a huge number of digits
Give a 311-digit number to Stream::parseFloat(). This makes the local
variable `value' overflow to infinity. With so many digits, the number
cannot be parsed into an integer, not even into an integer stored as a
`double'.
Note that 40 digits would be enough to unveil this issue on AVR.1 parent 1266b08 commit 91c5e29
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments