Skip to content
Snippets Groups Projects
Commit 27e94824 authored by Lev Kats's avatar Lev Kats Committed by Vladimir Davydov
Browse files

trivia: use __builtin* for offsetof macro

Changed default tarantool `offsetof` macro implementation so it don't
access members of null pointer in typeof that triggers UBsan.

Needed for #10143

NO_DOC=bugfix
NO_CHANGELOG=minor
NO_TEST=tested manually with fuzzer
parent b0b32bff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment