Skip to content

mdbx 0.1.1

Choose a tag to compare

@pedrobtz pedrobtz released this 29 Sep 14:53

Version 0.1.1 as published on CRAN.

  • CRAN publication: 2026-09-28
  • Submitted: 2026-09-28 12:29:35 UTC
  • Tarball built: 2026-09-28 12:29:30 UTC

Changes

  • Fixes the undefined behaviour CRAN's clang-UBSAN and gcc-UBSAN checks
    reported in the bundled 'libmdbx' sources. 'libmdbx' read and wrote 16-, 32-
    and 64-bit values through misaligned pointers on x86-64 and arm64; it is now
    built with MDBX_UNALIGNED_OK=0, which routes those accesses through byte
    copies. Three internal structures that 'libmdbx' deliberately indexes past
    their declared length are now C99 flexible array members, or are indexed
    through a pointer, so gcc's -fsanitize=bounds-strict no longer reports
    them. Nothing observable changes: on-disk format, allocation sizes and
    results are identical.

No CRAN-SUBMISSION record was kept for this version, so the tag is placed by content. The contents of mdbx_0.1.1.tar.gz on CRAN were verified against this tree file by file, ignoring only the fields R CMD build and CRAN add to or drop from DESCRIPTION, and this is the latest commit with that content that existed when the tarball was built. It is the head of #21, which was merged into main seven minutes after the build; the merge commit carries the same content.