Merge branch '2.3' into 2.4.0

This commit is contained in:
Johan Wikman
2019-06-25 11:46:44 +03:00
6 changed files with 1 additions and 195 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;