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

Issue 355001: Send uptime as milliseconds for Mac and iOS. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by qsr
Modified:
12 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

 Send uptime as milliseconds for Mac and iOS.

 All other platform are sending uptime as milliseconds. Changing the
implementation to do the same on Mac and iOS.
Committed: https://code.google.com/p/google-breakpad/source/detail?r=928

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/ios/Breakpad.h View 1 1 chunk +7 lines, -5 lines 0 comments Download
M src/client/mac/Framework/Breakpad.h View 1 1 chunk +7 lines, -5 lines 0 comments Download
M src/client/mac/crash_generation/ConfigFile.mm View 1 1 chunk +3 lines, -1 line 2 comments Download

Messages

Total messages: 5
qsr
12 years, 7 months ago #1
Mark Mentovai
LG otherwise. https://breakpad.appspot.com/355001/diff/1/src/client/ios/Breakpad.h File src/client/ios/Breakpad.h (right): https://breakpad.appspot.com/355001/diff/1/src/client/ios/Breakpad.h#newcode140 src/client/ios/Breakpad.h:140: // BREAKPAD_PROCESS_UP_TIME The total time in ms ...
12 years, 7 months ago #2
Mark Mentovai
LG otherwise.
12 years, 7 months ago #3
qsr
https://breakpad.appspot.com/355001/diff/1/src/client/ios/Breakpad.h File src/client/ios/Breakpad.h (right): https://breakpad.appspot.com/355001/diff/1/src/client/ios/Breakpad.h#newcode140 src/client/ios/Breakpad.h:140: // BREAKPAD_PROCESS_UP_TIME The total time in ms the process ...
12 years, 7 months ago #4
Mark Mentovai
12 years, 7 months ago #5
LGTM, but…

https://breakpad.appspot.com/355001/diff/4002/src/client/mac/crash_generation...
File src/client/mac/crash_generation/ConfigFile.mm (right):

https://breakpad.appspot.com/355001/diff/4002/src/client/mac/crash_generation...
src/client/mac/crash_generation/ConfigFile.mm:121: sprintf(processUptimeString,
"%llu",
snprintf with arraysize(processUptimeString) would be safer, although there’s
currently no way for this to overflow that array.

https://breakpad.appspot.com/355001/diff/4002/src/client/mac/crash_generation...
src/client/mac/crash_generation/ConfigFile.mm:127:
sprintf(processCrashtimeString, "%zd", tv.tv_sec);
Here too.
Sign in to reply to this message.

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