Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Issue 2915323002: v8: Fix unaligned access when deserializing snapshots. (Closed)

Created:
3 years, 6 months ago by Nico
Modified:
3 years, 6 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

v8: Fix unaligned access when deserializing snapshots. The code was already careful to use memcpy() here, but then it added needless casts to wider types that made the compiler think that it can do 4-byte-aligned accesses when it couldn't. (It's also a bug that the snapshot got loaded at an unaligned address, but we can fix both bugs.) BUG=chromium:729059 Review-Url: https://codereview.chromium.org/2915323002 Cr-Commit-Position: refs/heads/master@{#45698} Committed: https://chromium.googlesource.com/v8/v8/+/13af45c91dac27dffc7d25ca902fb81630b49ca4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M src/snapshot/serializer-common.h View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Nico
3 years, 6 months ago (2017-06-02 18:27:01 UTC) #4
adamk
-yang, +other owners not on leave
3 years, 6 months ago (2017-06-02 19:08:55 UTC) #8
Yang
On 2017/06/02 19:08:55, adamk wrote: > -yang, +other owners not on leave lgtm
3 years, 6 months ago (2017-06-02 19:46:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2915323002/1
3 years, 6 months ago (2017-06-02 19:47:33 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 19:48:58 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/13af45c91dac27dffc7d25ca902fb81630b...

Powered by Google App Engine
This is Rietveld 408576698