|
Ran
|
Jobs
1
|
Files
480
|
Run time
2min
|
Badge
README BADGES
|
push
github
uri: fix a crash due to long URI in uri.format() The function `uri.format()` creates a Lua string using ffi.string() with a length greater than a length of the passed buffer, this leads to a crash under AddressSanitizer due to use-after-poison. The patch fixes the aforementioned problem. First time the function `builtin.uri_format()` is calling with default length (1024) and if returned length is greater than default length, then `builtin.uri_format()` is called second time. The patch also fixes a wrong type in an FFI function declaration and enables a test `uri_parse_test.lua` previously blocked by the fixed bug. Fixes tarantool/security#151 NO_DOC=bugfix (cherry picked from commit 81a8ffb38)
63693 of 115148 branches covered (55.31%)
94689 of 109936 relevant lines covered (86.13%)
1907580.2 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
89.63 |
-0.61% | src/box/memtx_engine.cc |
| 3 |
97.61 |
-0.23% | src/box/memtx_tx.c |
| 3 |
89.46 |
-0.21% | src/box/vy_scheduler.c |
| 2 |
85.13 |
-0.74% | src/lib/core/coio.c |
| 1 |
90.31 |
0.16% | src/box/applier.cc |
| 1 |
87.18 |
0.56% | src/box/box.cc |
| 1 |
96.14 |
-0.19% | src/box/relay.cc |
| 1 |
96.55 |
-1.15% | src/histogram.c |
| 1 |
98.23 |
-0.06% | src/lib/salad/bps_tree.h |
| 1 |
91.45 |
-0.11% | src/lib/swim/swim.c |
| 1 |
80.99 |
-0.26% | src/main.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26164894919.1 | 480 |
86.13 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|