Skip to content

4.2.0

Latest

Choose a tag to compare

@oschwald oschwald released this 10 Sep 21:52
Immutable release. Only release title and notes can be modified.
6af91cf
  • Fixed decoding of data pointers with offsets of 2 GiB or greater. Records
    beyond that boundary could previously fail with IllegalArgumentException.
  • Fixed skipping unknown four-byte pointers during typed decoding. Skipped
    values that extend past the database are now rejected.
  • Fixed UTF-8 decoding across buffer chunks. Malformed decoded strings and
    truncated values now throw InvalidDatabaseException.
  • Added decoder limits to prevent excessive CPU and memory use from crafted
    databases: 65,536 decoded or skipped values, 128 nested containers, and 2 MiB
    of encoded string and bytes payload per operation. Exceeding a limit throws
    InvalidDatabaseException. See UPGRADING.md for accounting,
    decoded-value validation, and collection capacity-hint changes.
  • Improved decoder performance and reduced per-lookup allocation, including
    UTF-8 string decoding.