Elektrine lite

← Feed

@manx@mastodon.online

Post #2636441

2026-04-07 13:02 UTC

@DanielaKEngert@hachyderm.io @andreasfertig@mas.to ... You really cannot just take any std::byte* from somewhere and just "de-serialize" it with std::start_lifetime_as to some type that might have alignment requirements greater than 1 byte. Whether doing things wrong results in language level UB, or in assertion failure due to stdlib hardening, or really any other run-time decision that results in process termination, does really not matter at all - the bug lies in the intent, not in its manifestation.

Replies (0)

No replies.