Skip to content
Snippets Groups Projects
Commit 26a0d219 authored by Michael Davis's avatar Michael Davis
Browse files

[ssi_stream] Reset m_split_buflen = 0 after handling split buffers

Fixes failure mode where sizeof(uint32_t) + buflen exactly equals the
buffer size, and m_split_buflen had been set to a non-zero value in a
previous iteration.
parent afd53daf
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,8 @@ std::cerr << "[1] " << msg_len << std::endl;
std::cerr << "[2] " << msg_len << std::endl;
popRecord(msg_len, split_stream);
}
m_split_buflen = 0;
}
// Extract remaining records from the input buffer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment