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

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

Build:
Build:
LAST BUILD BRANCH: skaplun/lj-1152-stack-buffer-overflow-on-error
DEFAULT BRANCH: tarantool/master
Ran 06 Dec 2023 06:23PM CUT
Jobs 1
Files 89
Run time 12s
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:18PM CUT coverage: 88.631% (+0.04%) from 88.593%
7118606541

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

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%)

3 existing lines in 3 files now uncovered.

20631 of 23356 relevant lines covered (88.33%)

2743118.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
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 7118606541.1 06 Dec 2023 06:23PM CUT 89
88.63
GitHub Action Run
Source Files on build 7118606541
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 6
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
13.79
src/lj_utils_leb128.c132 51 7 44 1565145.0 - 358341 6
61.83
src/lj_clib.c431 101 65 36 2760.0 16 14
64.75
src/lj_cconv.c763 387 238 149 467899.0 - 5342389 29
66.47
src/lj_cparse.c1937 1030 681 349 160068.0 - 20306199 95
70.38
src/lj_carith.c429 252 175 77 500125.0 - 5798365 24
72.64
src/lj_crecord.c1912 927 655 272 98.0 - 1.0208 53
73.62
src/lj_strscan.c537 261 191 70 2787534.0 + 183474102 35
74.75
src/lj_api.c1368 859 638 + 10221 - 10942650.0 - 16479176 + 154 - 1
75.31
src/lib_ffi.c866 518 388 130 77875.0 - 9030100 30
76.45
src/lj_opt_fold.c2537 + 1977 + 1732 245 + 130955.0 - 616242 + 155
Showing 1 to 10 of 89 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
  • ►
    88.63
    src/
  • Back to Repo
  • Github Actions Build #7118606541
  • e24a9f42 on github
  • Prev Build on tarantool/master (#7118518838)
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