| commit | ae26ad8516036774fd3b6e84a98a89955dcf5f61 | [log] [tgz] |
|---|---|---|
| author | vitalybuka <[email protected]> | Thu Oct 24 03:36:12 2019 |
| committer | chrome-bot <[email protected]> | Fri Oct 25 04:27:05 2019 |
| tree | 1cd0c980789295336eeb6be130bf3f001344f5da | |
| parent | 11a6fc258c6765a43b973b15e86fb4bce7675202 [diff] |
Cherry-pick crrev.com/350033 to avoid misaligned access. Avoid 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=chromium:1017267 BUG=chromium:1015098 TEST=pre-cq passes Change-Id: Ie5c1d60204967c117e6b6ac2d9bd06c6fd7c1b50 Reviewed-on: https://chromium-review.googlesource.com/1877433 Tested-by: Manoj Gupta <[email protected]> Commit-Ready: Manoj Gupta <[email protected]> Legacy-Commit-Queue: Commit Bot <[email protected]> Reviewed-by: Eric Caruso <[email protected]> Reviewed-by: Luis Lozano <[email protected]>