Skip to content

Version 3.2.1

Latest

Choose a tag to compare

@lemire lemire released this 14 Nov 20:52

Patch release.

What's Changed

  • Fix undefined behavior reported by UBSan. Results are unchanged; performance is unchanged (identical machine code for streamvbyte_decode, other kernels within noise). By @lemire in #92
    • zigzag_delta_encode and zigzag_delta_decode: signed 32-bit overflow when computing differences and sums; these are now computed in uint32_t.
    • x64 encoders and decoders, and the NEON branchy delta decoder: misaligned uint16_t, uint32_t or uint64_t pointers into the key or data streams are replaced with byte pointers and memcpy.
  • Build: STREAMVBYTE_SANITIZE_UNDEFINED now instruments the library itself. Previously, only the tests and examples were instrumented, so the UBSan CI jobs could not detect undefined behavior in the library.

The ABI is backward compatible (SOVERSION remains 3).

Full Changelog: v3.2.0...v3.2.1