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

Issue 198103008: Make LogMessage() handle strings with null bytes (Closed)

Created:
6 years, 9 months ago by João Eiras
Modified:
6 years, 9 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Make LogMessage() handle strings with null bytes 'LOG(...) << std::string("a\0a", 3);' would cause the line to be truncated, and no newline output. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257093 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257135

Patch Set 1 #

Patch Set 2 : ignoring the return value #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M base/logging.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
João Eiras
6 years, 9 months ago (2014-03-13 14:30:13 UTC) #1
brettw
lgtm
6 years, 9 months ago (2014-03-13 16:52:25 UTC) #2
João Eiras
The CQ bit was checked by joaoe@opera.com
6 years, 9 months ago (2014-03-14 10:31:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaoe@opera.com/198103008/1
6 years, 9 months ago (2014-03-14 10:32:10 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 10:32:55 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-14 10:32:55 UTC) #6
João Eiras
The CQ bit was checked by joaoe@opera.com
6 years, 9 months ago (2014-03-14 10:36:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaoe@opera.com/198103008/1
6 years, 9 months ago (2014-03-14 10:36:07 UTC) #8
commit-bot: I haz the power
Change committed as 257093
6 years, 9 months ago (2014-03-14 13:25:24 UTC) #9
Finnur
A revert of this CL has been created in https://codereview.chromium.org/196133015/ by finnur@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-14 14:04:58 UTC) #10
João Eiras
The CQ bit was checked by joaoe@opera.com
6 years, 9 months ago (2014-03-14 15:00:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaoe@opera.com/198103008/20001
6 years, 9 months ago (2014-03-14 15:00:55 UTC) #12
João Eiras
The CQ bit was checked by joaoe@opera.com
6 years, 9 months ago (2014-03-14 15:01:21 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-03-14 17:02:19 UTC) #14
Message was sent while issue was closed.
Change committed as 257135

Powered by Google App Engine
This is Rietveld 408576698