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

Issue 562573002: Fix crash in webmidi. (Closed)

Created:
6 years, 3 months ago by Mads Ager (chromium)
Modified:
6 years, 3 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Fix crash in webmidi. If a garbage collected class is polymorphic (has virtual methods) it needs to have a vtable from its left-most base class. Otherwise pointers to the polymorphic subclasses are not guaranteed to point to the beginning of the object. This should have been caught by the gc plugin. We will investigate that separately. R=oilpan-reviews@chromium.org, sigbjornf@chromium.org, yhirano@chromium.org, zerny@chromium.org BUG=411742 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181718

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/modules/webmidi/MIDIPortMap.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
Mads Ager (chromium)
6 years, 3 months ago (2014-09-10 07:55:49 UTC) #1
yhirano
Thanks, lgtm
6 years, 3 months ago (2014-09-10 07:57:26 UTC) #2
haraken
LGTM, nice detective work!
6 years, 3 months ago (2014-09-10 07:59:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/562573002/1
6 years, 3 months ago (2014-09-10 08:25:33 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as 181718
6 years, 3 months ago (2014-09-10 09:23:48 UTC) #6
wibling-chromium
lgtm
6 years, 3 months ago (2014-09-10 09:31:22 UTC) #8
zerny-chromium
lgtm. This was not caught by the plugin because we only checked the polymorphic requirements ...
6 years, 3 months ago (2014-09-10 10:55:07 UTC) #9
zerny-chromium
6 years, 3 months ago (2014-09-10 13:19:46 UTC) #10
Message was sent while issue was closed.
On 2014/09/10 10:55:07, zerny-chromium wrote:
> lgtm. This was not caught by the plugin because we only checked the
polymorphic
> requirements on classes defining a trace method, which MIDI{Input,Output}Map
> don't. I'll upload a plugin fix asap.

Plugin fix uploaded at: https://codereview.chromium.org/564453002/

Powered by Google App Engine
This is Rietveld 408576698