Skip to content

lmdb: fix undefined behavior (load of misaligned address)#843

Merged
pkova merged 1 commit intodevelopfrom
msl/fix-lmdb-undefined-contiguous-event-sanity-check
Jul 2, 2025
Merged

lmdb: fix undefined behavior (load of misaligned address)#843
pkova merged 1 commit intodevelopfrom
msl/fix-lmdb-undefined-contiguous-event-sanity-check

Conversation

@matthew-levan
Copy link
Copy Markdown
Contributor

Addresses:

/Users/matt/src/urbit/vere/pkg/vere/db/lmdb.c:308:14: runtime error: load of misaligned address 0x007000017fbe for type 'c3_d' (aka 'unsigned long long'), which requires 8 byte alignment
0x007000017fbe: note: pointer points here
00 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00 41 b0 26 0b 59 a2 13 59 62 26 6e 93 c5 61 17 76
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/matt/src/urbit/vere/pkg/vere/db/lmdb.c:308:14

@matthew-levan matthew-levan requested a review from a team as a code owner July 1, 2025 14:56
@pkova pkova merged commit 6ca14dc into develop Jul 2, 2025
2 checks passed
@pkova pkova deleted the msl/fix-lmdb-undefined-contiguous-event-sanity-check branch July 2, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants