|
Ran
|
Jobs
1
|
Files
520
|
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)
70172 of 118081 branches covered (59.43%)
105532 of 120474 relevant lines covered (87.6%)
1394517.93 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 72 |
95.85 |
0.01% | src/box/iproto.cc |
| 9 |
88.14 |
-7.63% | src/box/vy_regulator.c |
| 4 |
89.42 |
-0.29% | src/box/applier.cc |
| 2 |
92.56 |
0.04% | src/box/vinyl.c |
| 2 |
93.39 |
-0.04% | src/box/xrow_update_field.c |
| 1 |
85.92 |
0.11% | src/box/xlog.c |
| 1 |
97.15 |
0.1% | src/lib/msgpuck/msgpuck.h |
| 1 |
22.62 |
-0.02% | src/lib/uri/uri_parser.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26164883019.1 | 520 |
87.6 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|