|
Ran
|
Files
305
|
Run time
15min
|
Badge
README BADGES
|
push
travis-ci
iproto: fix assertion failure on invalid msgpack Before the commit d9f82b176e24 "More than one row in fixheader. Zstd compression", xrow_header_decode treated everything until 'end' as the packet body while currently it allows a packet to end before 'end'. The iproto_msg_decode may receive an invalid msgpack but it still assumes that xrow_header_decode sets an error in such case and use assert to test it, bit it is not so. Introduced a new boolean flag to control routine behaviour. When flag is set, xrow_header_decode should raise 'packet body' error unless the packet ends exactly at 'end'. @locker: renamed ensure_package_read to end_is_exact; fixed comments. Closes #3900 (cherry picked from commit 3fb69c15e)
41367 of 50159 relevant lines covered (82.47%)
845773.87 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|