Compression/decompression methods use the ::size() member of the m_transactionData vector instead of checking m_unwrittenPayloadSize. ::size() is unreliable because the payload storage vector is almost always going to be larger than actual valid data, due to how the buffer works.
Also, m_unwrittenPayloadSize. is not adjusted to reflect the size of the decompressed payload.
Fixed in next commit.
Compression/decompression methods use the
::size()member of them_transactionDatavector instead of checkingm_unwrittenPayloadSize.::size()is unreliable because the payload storage vector is almost always going to be larger than actual valid data, due to how the buffer works.Also,
m_unwrittenPayloadSize. is not adjusted to reflect the size of the decompressed payload.Fixed in next commit.