• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 6112372709
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/lj-1418-1422-dualnum-narrowing-0
DEFAULT BRANCH: tarantool/master
Ran 07 Sep 2023 04:32PM UTC
Jobs 1
Files 89
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Sep 2023 02:02PM UTC coverage: 87.949%. Remained the same
6112372709

push

github

igormunkin
Fix predict_next() in parser (again).

Reported by Sergey Bronnikov.

(cherry picked from commit 309fb42b8)

The following Lua snippet triggers out-of-boundary access to a stack:

```
a, b, c = 1, 2, 3
local d
for _ in nil do end
```

During the execution of this snippet with LuaJIT instrumented by ASAN,
it leads to a heap-based buffer overflow.

In function `predict_next()` variable `exprpc` looks forward and expects
extra bytecodes on the stack. However, `KPRI` is merged to `KNIL` and
there is no new bytecode to add, so `exprpc == fs->bclim`, and it leads
to out-of-boundary access. Issue has been fixed by an early return when
`pc >= fs->bclim`.

Sergey Bronnikov:
* added the description and the test for the problem

Part of tarantool/tarantool#8825

Reviewed-by: Sergey Kaplun <skaplun@tarantool.org>
Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>
(cherry picked from commit 509cc68bf)

5299 of 5951 branches covered (0.0%)

Branch coverage included in aggregate %.

20340 of 23201 relevant lines covered (87.67%)

682182.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6112372709.1 07 Sep 2023 04:31PM UTC 0
87.95
GitHub Action Run
Source Files on build 6112372709
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6112372709
  • 111788bf on github
  • Prev Build on tarantool/release/2.10 (#6109042639)
  • Next Build on tarantool/release/2.10 (#6302991181)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc