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

Issue 2685213002: Fix ReadRemoteData in ModuleEventSinkImpl (Closed)

Created:
3 years, 10 months ago by Patrick Monette
Modified:
3 years, 10 months ago
Reviewers:
Nico, chrisha
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ReadRemoteData in ModuleEventSinkImpl The address of the pointer to the buffer was passed to ReadProcessMemory instead of the address of the buffer. Review-Url: https://codereview.chromium.org/2685213002 Cr-Commit-Position: refs/heads/master@{#449463} Committed: https://chromium.googlesource.com/chromium/src/+/a4393e6d033d3f47d70163c11120ecec68d4393e

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/conflicts/module_event_sink_impl_win.cc View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 11 (5 generated)
Patrick Monette
PTAL
3 years, 10 months ago (2017-02-09 22:30:32 UTC) #2
chrisha
lgtm!
3 years, 10 months ago (2017-02-09 22:34:15 UTC) #3
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/2685213002/1
3 years, 10 months ago (2017-02-09 22:35:03 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/a4393e6d033d3f47d70163c11120ecec68d4393e
3 years, 10 months ago (2017-02-09 23:28:11 UTC) #8
Nico
https://codereview.chromium.org/2685213002/diff/1/chrome/browser/conflicts/module_event_sink_impl_win.cc File chrome/browser/conflicts/module_event_sink_impl_win.cc (right): https://codereview.chromium.org/2685213002/diff/1/chrome/browser/conflicts/module_event_sink_impl_win.cc#newcode67 chrome/browser/conflicts/module_event_sink_impl_win.cc:67: if (!::ReadProcessMemory(process, typed_address, data, sizeof(data), This still looks a ...
3 years, 10 months ago (2017-02-15 15:35:09 UTC) #10
Nico
3 years, 10 months ago (2017-02-15 16:07:14 UTC) #11
Message was sent while issue was closed.
On 2017/02/15 15:35:09, Nico wrote:
>
https://codereview.chromium.org/2685213002/diff/1/chrome/browser/conflicts/mo...
> File chrome/browser/conflicts/module_event_sink_impl_win.cc (right):
> 
>
https://codereview.chromium.org/2685213002/diff/1/chrome/browser/conflicts/mo...
> chrome/browser/conflicts/module_event_sink_impl_win.cc:67: if
> (!::ReadProcessMemory(process, typed_address, data, sizeof(data),
> This still looks a bit funny. sizeof(data) will always be size of a pointer.
> While &data was passed in, that was consistent, but now that you pass data do
> you want sizeof(T) here?

After looking at this some more, I think that's correct. Fix:
https://codereview.chromium.org/2691373003/

Powered by Google App Engine
This is Rietveld 408576698