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

tarantool / luajit / 7118840799
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 06 Dec 2023 06:46PM UTC
Jobs 1
Files 89
Run time 18s
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

06 Dec 2023 06:33PM UTC coverage: 88.621% (+0.03%) from 88.593%
7118840799

push

github

igormunkin
Fix FOLD rule for BUFHDR append.

Reported by XmiliaH.

(cherry-picked from commit bc1bdbf62)

`bufput_append()` may fold `BUFHDR RESET` + `BUFPUT` IRs to `BUFHDR
APPEND` even if the right operand (`BUFSTR`) is the PHI. If it's not the
last IR in the `BUFSTR` chain, this may lead to an incorrect resulting
value in the buffer, which contains a longer string since `APPEND` is
used instead of `RESET`.

This patch adds the corresponding check inside the fold rule.

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>

5376 of 5987 branches covered (0.0%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

4 existing lines in 4 files now uncovered.

20628 of 23356 relevant lines covered (88.32%)

2744561.56 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.17
-0.08% src/lj_asm.c
1
93.09
-0.33% src/lj_ir.c
1
76.45
-0.04% src/lj_opt_fold.c
1
96.18
-0.11% src/lj_record.c
Jobs
ID Job ID Ran Files Coverage
1 7118840799.1 06 Dec 2023 06:46PM UTC 89
88.62
GitHub Action Run
Source Files on build 7118840799
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7118840799
  • e895818a on github
  • Prev Build on tarantool/master (#7118518838)
  • Next Build on tarantool/master (#7119175127)
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

© 2025 Coveralls, Inc