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

Issue 71303009: Fix browser crash when parsing invalid Settings Override extension (Closed)

Created:
7 years, 1 month ago by vasilii
Modified:
7 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Fix browser crash when parsing an Settings Override manifest with invalid URLs under 'chrome_settings_overrides.search_provider'. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235876

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed @kalman's comment #

Patch Set 3 : Fixed compilation on win #

Patch Set 4 : Fixed SettingsOverridePermissionTest.* #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -5 lines) Patch
M chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc View 1 2 3 2 chunks +21 lines, -1 line 0 comments Download
M chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc View 1 2 3 3 chunks +40 lines, -3 lines 0 comments Download
M chrome/common/extensions/permissions/settings_override_permission_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M extensions/common/manifest_constants.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/manifest_constants.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vasilii
Hi guys, The crash was in settings_overrides_handler.cc:111. CreateManifestURL returned NULL pointer if the search URL ...
7 years, 1 month ago (2013-11-15 23:53:32 UTC) #1
not at google - send to devlin
lgtm https://codereview.chromium.org/71303009/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc File chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc (right): https://codereview.chromium.org/71303009/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc#newcode114 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc:114: &error); EXPECT_EQ(that error you just added, error) ?
7 years, 1 month ago (2013-11-16 00:38:30 UTC) #2
vasilii
https://codereview.chromium.org/71303009/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc File chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc (right): https://codereview.chromium.org/71303009/diff/1/chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc#newcode114 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc:114: &error); On 2013/11/16 00:38:30, kalman wrote: > EXPECT_EQ(that error ...
7 years, 1 month ago (2013-11-16 00:55:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/71303009/160001
7 years, 1 month ago (2013-11-18 18:09:31 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=189704
7 years, 1 month ago (2013-11-18 19:14:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/71303009/500001
7 years, 1 month ago (2013-11-18 23:05:25 UTC) #6
commit-bot: I haz the power
7 years, 1 month ago (2013-11-19 01:34:54 UTC) #7
Message was sent while issue was closed.
Change committed as 235876

Powered by Google App Engine
This is Rietveld 408576698