Ran
|
Files
89
|
Run time
4s
|
Badge
Embed ▾
README BADGES
|
push
github
Limit exponent range in number parsing. Reported by XmiliaH. (cherry-picked from commit e56048753) When parsing exponent powers greater than (1 << 16) * 10 == (65536 * 10), the exponent values are cut without handling any values greater. This patch fixes the behaviour, but restricts the power maximum value by `STRSCAN_MAXEXP` (1 << 20). Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9145 Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Igor Munkin <imun@tarantool.org>
5401 of 5998 branches covered (0.0%)
Branch coverage included in aggregate %.
20707 of 23371 relevant lines covered (88.6%)
2749091.45 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|