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

Issue 119249: Linux: Dumping a renderer can traverse an invalid pointer. (Closed)

Created:
11 years, 6 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Linux: Dumping a renderer can traverse an invalid pointer. A ucontext isn't a POD datatype, so we can end up sending it to the browser and then walking an embedded pointer which is only valid in the renderer context. This fix sends the floating point registers (which were at the other end of said pointer) in the context and stops using the pointer in the ucontext. BUG=13465

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M breakpad/linux/exception_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M breakpad/linux/exception_handler.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M breakpad/linux/minidump_writer.cc View 5 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
agl
11 years, 6 months ago (2009-06-05 19:23:03 UTC) #1
Lei Zhang
11 years, 6 months ago (2009-06-05 20:13:04 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698