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

Issue 10502011: Explicitly CHECK arguments in dbus::MessageWriter::AppendString/ObjectPath (Closed)

Created:
8 years, 6 months ago by hashimoto
Modified:
8 years, 6 months ago
Reviewers:
satorux1
CC:
chromium-reviews
Visibility:
Public.

Description

Explicitly CHECK arguments in dbus::MessageWriter::AppendString/ObjectPath Add dbus::IsStringValidObjectPath() and dbus::ObjectPath::IsValid() BUG=129335 TEST=dbus_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140489

Patch Set 1 : _ #

Patch Set 2 : Fix wording #

Total comments: 11

Patch Set 3 : Review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -0 lines) Patch
M dbus/dbus.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M dbus/message.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M dbus/object_path.h View 1 chunk +3 lines, -0 lines 0 comments Download
M dbus/object_path.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A dbus/string_util.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A dbus/string_util.cc View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A dbus/string_util_unittest.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
hashimoto
8 years, 6 months ago (2012-06-04 06:46:36 UTC) #1
satorux1
LGTM with nits: http://codereview.chromium.org/10502011/diff/9001/dbus/string_util.cc File dbus/string_util.cc (right): http://codereview.chromium.org/10502011/diff/9001/dbus/string_util.cc#newcode18 dbus/string_util.cc:18: return false; maybe if (!StartsWithAscii(value, "/", ...
8 years, 6 months ago (2012-06-04 23:29:19 UTC) #2
satorux1
http://codereview.chromium.org/10502011/diff/9001/dbus/string_util.cc File dbus/string_util.cc (right): http://codereview.chromium.org/10502011/diff/9001/dbus/string_util.cc#newcode21 dbus/string_util.cc:21: for (size_t i = 1; i < string.length(); ++i) ...
8 years, 6 months ago (2012-06-04 23:32:15 UTC) #3
hashimoto
http://codereview.chromium.org/10502011/diff/9001/dbus/string_util.cc File dbus/string_util.cc (right): http://codereview.chromium.org/10502011/diff/9001/dbus/string_util.cc#newcode18 dbus/string_util.cc:18: return false; On 2012/06/04 23:29:19, satorux1 wrote: > maybe ...
8 years, 6 months ago (2012-06-05 01:50:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10502011/12001
8 years, 6 months ago (2012-06-05 03:11:17 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-05 04:15:52 UTC) #6
Change committed as 140489

Powered by Google App Engine
This is Rietveld 408576698