Skip to content

v3.1.6 - Fix numeric message offset

Choose a tag to compare

@EdamAme-x EdamAme-x released this 06 Jul 23:05
09090f5

What's Changed

Bug Fixes

  • fix(thrift): use standard XOR zigzag decode in TMoreCompactProtocol (#201)
    • Fixed decodeZigZag() using a non-standard multiplication formula that was off by +1 for negative values
    • Fixed type-16 string-ID delta decoder using the same broken formula
    • This caused numeric-only messages (e.g. "100") to be received with +1 to +3 offset, growing with sending speed
    • Closes #200

Contributors

Full Changelog: v3.1.5...v3.1.6