|
Ran
|
Files
89
|
Run time
3s
|
Badge
README BADGES
|
push
github
Fix command-line argv handling. (cherry-picked from commit 9ebebc9b5) Before the patch, there was a situation where `luaL_newstate` could fail in main and the `argv[0]` could be used as a progname in `l_message`. However, `argv[0]` is not guaranteed to be non-NULL, so segmentation fault could occur. This patch fixes the issue by using the predefined name in that case. Moreover, it refactors the `l_message`, so now there is no need to pass `pname` everywhere. Part of tarantool/tarantool#9145
5659 of 6018 branches covered (94.03%)
Branch coverage included in aggregate %.
21598 of 23418 relevant lines covered (92.23%)
2948303.49 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|