Ran
|
Jobs
1
|
Files
89
|
Run time
8s
|
Badge
Embed ▾
README BADGES
|
push
github
Fix zero stripping in %g number formatting. Reported by pwnhacker0x18. (cherry picked from commit 343ce0eda) LuaJIT uses `lj_strfmt_wfnum()` for number formatting. In the situation when the precision (`prec`) and amount of digits (`hilen`) for the decimal representation are the same and `ndhi` == 0, the `ndlo` part becomes 64 (the size of the `nd` stack buffer), and the overflow occurs. This patch adds the corresponding mask (0x3f == 63) for the `ndlo` incrementation result. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9595 Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Igor Munkin <imun@tarantool.org>
5404 of 5999 branches covered (0.0%)
Branch coverage included in aggregate %.
20712 of 23373 relevant lines covered (88.62%)
2740368.71 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7799094715.1 | 89 |
88.91 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|