|
Ran
|
Files
89
|
Run time
5s
|
Badge
README BADGES
|
push
github
Handle OOM error on stack resize in coroutine.resume and lua_checkstack. Thanks to Peter Cawley. (cherry picked from commit a5d2f70c7) If the OOM or stack overflow error is obtained during `lj_state_growstack()` in the `coroutine.resume()` it may raise an error leading to the incorrect error message and unexpected behaviour for this corner case. Also, `lua_checkstack()` may raise an OOM error leading to panic on an unprotected lua_State, for example. This patch handles these cases by protecting `lj_state_growstack()`. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#12134 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 357a260d8)
5713 of 6053 branches covered (94.38%)
Branch coverage included in aggregate %.
21812 of 23540 relevant lines covered (92.66%)
3891211.31 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|