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

Issue 649443002: Breakpad Linux: Fix flag value delimiter for ChromeOS (Closed)

Created:
6 years, 2 months ago by stevef
Modified:
6 years, 2 months ago
Reviewers:
Lei Zhang, stevefung, vapier
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Breakpad Linux: Fix flag value delimiter for ChromeOS Fix command line flag passing to crash_reporter to be of the form "--key=value" instead of "--key value", as crash_reporter now uses base::CommandLine to do parsing, which doesn't support the latter format. BUG=422094 Committed: https://crrev.com/06147cb9165bf57aa6e0a6ad526866342dfb5c58 Cr-Commit-Position: refs/heads/master@{#299429}

Patch Set 1 #

Patch Set 2 : Fixed compromised context memory usage #

Total comments: 4

Patch Set 3 : Fix use of my_strlcat #

Total comments: 2

Patch Set 4 : Remove hardcoded size constants #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -8 lines) Patch
M components/crash/app/breakpad_linux.cc View 1 2 3 1 chunk +33 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
stevefung
6 years, 2 months ago (2014-10-09 22:48:48 UTC) #2
Lei Zhang
Why did the crash_reporter behavior change? You can't use base::StringPrintf(). The comment on line 560 ...
6 years, 2 months ago (2014-10-09 23:02:31 UTC) #3
stevefung
On 2014/10/09 23:02:31, Lei Zhang wrote: > Why did the crash_reporter behavior change? > > ...
6 years, 2 months ago (2014-10-10 06:44:45 UTC) #4
Lei Zhang
https://codereview.chromium.org/649443002/diff/70001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (right): https://codereview.chromium.org/649443002/diff/70001/components/crash/app/breakpad_linux.cc#newcode976 components/crash/app/breakpad_linux.cc:976: my_strlcat(chrome_flag, "--chrome=", 9); I think strlcat takes the size ...
6 years, 2 months ago (2014-10-10 19:11:47 UTC) #5
vapier
i might be missing something obvious, but why don't we update the libchromeos flags wrapper ...
6 years, 2 months ago (2014-10-13 19:50:51 UTC) #6
stevefung
The libchromeos flags wrapper doesn't do any actual parsing of command line flags itself. It ...
6 years, 2 months ago (2014-10-13 20:15:14 UTC) #7
stevefung
https://codereview.chromium.org/649443002/diff/70001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (right): https://codereview.chromium.org/649443002/diff/70001/components/crash/app/breakpad_linux.cc#newcode976 components/crash/app/breakpad_linux.cc:976: my_strlcat(chrome_flag, "--chrome=", 9); On 2014/10/10 19:11:47, Lei Zhang wrote: ...
6 years, 2 months ago (2014-10-13 22:28:40 UTC) #8
vapier
https://codereview.chromium.org/649443002/diff/160001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (right): https://codereview.chromium.org/649443002/diff/160001/components/crash/app/breakpad_linux.cc#newcode974 components/crash/app/breakpad_linux.cc:974: size_t buf_len = my_strlen(dumpfile) + 10; alternative: const char ...
6 years, 2 months ago (2014-10-13 22:37:55 UTC) #9
stevefung
https://codereview.chromium.org/649443002/diff/160001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (right): https://codereview.chromium.org/649443002/diff/160001/components/crash/app/breakpad_linux.cc#newcode974 components/crash/app/breakpad_linux.cc:974: size_t buf_len = my_strlen(dumpfile) + 10; On 2014/10/13 22:37:55, ...
6 years, 2 months ago (2014-10-13 23:51:55 UTC) #10
Lei Zhang
lgtm
6 years, 2 months ago (2014-10-14 00:10:15 UTC) #11
vapier
lgtm
6 years, 2 months ago (2014-10-14 00:22:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/649443002/220001
6 years, 2 months ago (2014-10-14 03:44:17 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:220001)
6 years, 2 months ago (2014-10-14 04:22:50 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 04:23:33 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/06147cb9165bf57aa6e0a6ad526866342dfb5c58
Cr-Commit-Position: refs/heads/master@{#299429}

Powered by Google App Engine
This is Rietveld 408576698