diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 22:16:11 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 22:16:11 +0000 |
commit | ea0f18bbf4ecd16dc6ace8f33c99fc29cd97c01f (patch) | |
tree | 379cc04c94e5436d12643e7cf12edaddd33cd017 /chrome/browser/extensions/extension_dom_ui.h | |
parent | 97708ca70ee8cb5a316a0a14030efa5e9e963c7d (diff) | |
download | chromium_src-ea0f18bbf4ecd16dc6ace8f33c99fc29cd97c01f.zip chromium_src-ea0f18bbf4ecd16dc6ace8f33c99fc29cd97c01f.tar.gz chromium_src-ea0f18bbf4ecd16dc6ace8f33c99fc29cd97c01f.tar.bz2 |
Don't create an ExtensionDOMUI for urls with invalid extension IDs.
This fixes a crash bug.
BUG=17546
TEST=Navigate to chrome-extension://baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ with no
extensions installed. Chrome should not crash.
Review URL: http://codereview.chromium.org/160199
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_dom_ui.h')
-rw-r--r-- | chrome/browser/extensions/extension_dom_ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_dom_ui.h b/chrome/browser/extensions/extension_dom_ui.h index d80c503..ff64a9d 100644 --- a/chrome/browser/extensions/extension_dom_ui.h +++ b/chrome/browser/extensions/extension_dom_ui.h @@ -1,3 +1,7 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_ |