Merge branch '2.4.0' into 2.4

This commit is contained in:
Johan Wikman
2019-06-25 11:48:44 +03:00
15 changed files with 1 additions and 1090 deletions

View File

@ -303,6 +303,7 @@ void RWBackend::process_packets(GWBUF* result)
len |= (*it++) << 16;
++it; // Skip the sequence
mxb_assert(it != buffer.end());
mxb_assert(std::distance(it, buffer.end()) >= len);
auto end = it;
end.advance(len);
uint8_t cmd = *it;