Ran
|
Jobs
1
|
Files
89
|
Run time
28s
|
Badge
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> (cherry picked from commit a16313f84)
5403 of 5998 branches covered (0.0%)
Branch coverage included in aggregate %.
20695 of 23371 relevant lines covered (88.55%)
2748454.03 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7737608223.1 | 89 |
88.86 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
13.79 | src/lj_utils_leb128.c | 132 | 51 | 7 | 44 | 1600962.0 - 89761 | 1 | 6 | |
61.83 | src/lj_clib.c | 431 | 101 | 65 | 36 | 2772.0 + 1.0 | 16 | 14 | |
65.09 | src/lj_cconv.c | 765 | 389 | 241 | 148 | 516438.0 - 4628 | 89 | 29 | |
66.62 | src/lj_cparse.c | 1937 | 1030 | 683 | 347 | 179979.0 - 9273 | 199 | 95 | |
71.76 | src/lj_carith.c | 433 | 255 | 181 | 74 | 539842.0 + 218 | 68 | 24 | |
73.74 | src/lj_api.c | 1368 | 859 | 628 | 231 | 959996.0 - 465 | 175 | 55 | |
73.82 | src/lj_strscan.c | 540 + 3 | 263 + 2 | 193 + 2 | 70 | 2654365.0 - 133119 | 103 + 1 | 35 | |
75.54 | src/lj_crecord.c | 1916 | 930 | 683 + 1 | 247 - 1 | 95.0 - 2 | 219 + 1 | 45 - 1 | |
76.45 | src/lj_opt_fold.c | 2537 | 977 | 732 | 245 | 31459.0 + 219 | 242 | 55 | |
76.47 | src/lj_ccallback.c | 786 | 155 | 119 | 36 | 37.0 | 24 | 8 |