Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1254)

Issue 586003: Make custom info population before dump generation as an optional operation (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by Ivan Penkov
Modified:
11 years, 3 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Submitting this on behalf of Xiaoling Bao.

Make custom info population before dump generation as an optional operation. 
This is part of a security change to move the crash generation and upload out of
Google updater process.
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1186

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/windows/crash_generation/client_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/client/windows/crash_generation/client_info.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/client/windows/crash_generation/crash_generation_server.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M src/client/windows/crash_generation/crash_generation_server.h View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Ivan Penkov
.
11 years, 4 months ago #1
Mark Mentovai
LGTM https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generation/crash_generation_server.cc File src/client/windows/crash_generation/crash_generation_server.cc (right): https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generation/crash_generation_server.cc#newcode839 src/client/windows/crash_generation/crash_generation_server.cc:839: client_info->PopulateCustomInfo(); Do something useful with the return value ...
11 years, 4 months ago #2
Mark Mentovai
https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generation/client_info.h File src/client/windows/crash_generation/client_info.h (right): https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generation/client_info.h#newcode69 src/client/windows/crash_generation/client_info.h:69: CustomClientInfo custom_client_info() const { return custom_client_info_; } This can ...
11 years, 4 months ago #3
xiaolingbao
On 2013/05/10 20:11:15, Mark Mentovai wrote: > https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generation/client_info.h > File src/client/windows/crash_generation/client_info.h (right): > > https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generation/client_info.h#newcode69 ...
11 years, 4 months ago #4
Mark Mentovai
The same lifetime issue exists regardless of whether this returns a const reference, because CustomClientInfo ...
11 years, 4 months ago #5
xiaolingbao
On 2013/05/10 20:58:10, Mark Mentovai wrote: > The same lifetime issue exists regardless of whether ...
11 years, 4 months ago #6
Ivan Penkov
On 2013/05/10 21:29:50, xiaolingbao wrote: > On 2013/05/10 20:58:10, Mark Mentovai wrote: > > The ...
11 years, 3 months ago #7
Mark Mentovai
I said LGTM but I still think the const reference change should be made. LGTM ...
11 years, 3 months ago #8
Ivan Penkov
11 years, 3 months ago #9
The const reference change is done.  I'm waiting for a test run and I'll commit
it shortly after that.

https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generatio...
File src/client/windows/crash_generation/client_info.h (right):

https://breakpad.appspot.com/586003/diff/1/src/client/windows/crash_generatio...
src/client/windows/crash_generation/client_info.h:69: CustomClientInfo
custom_client_info() const { return custom_client_info_; }
On 2013/05/10 20:11:15, Mark Mentovai wrote:
> This can return a const reference, although I don’t see it being used
anywhere,
> so maybe it can just be removed. Is this intended to be a public API that some
> code outside of Breakpad will call?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted