DescriptionAvoid misaligned read/write on little endian platforms
Asan build with -fsanitize=alignment flag crash on
out/Debug/base_unittests --gtest_filter=Base*
Code does not use memcpy for consistency with code around.
BUG=532120
Committed: https://crrev.com/59888b9a537fed903b7e09523644c2aedb44b467
Cr-Commit-Position: refs/heads/master@{#350033}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #Messages
Total messages: 22 (9 generated)
|