diff options
author | krasin <krasin@google.com> | 2015-07-29 13:36:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-29 20:37:08 +0000 |
commit | e9d163d73d053658c728aaf14d350a398c947178 (patch) | |
tree | 03c26fa36a425d3411f290e2372f8d600428e32f /components/components_tests.gyp | |
parent | 4064b2ef267555e9daf0d2d4ce3c2b39c3c7536e (diff) | |
download | chromium_src-e9d163d73d053658c728aaf14d350a398c947178.zip chromium_src-e9d163d73d053658c728aaf14d350a398c947178.tar.gz chromium_src-e9d163d73d053658c728aaf14d350a398c947178.tar.bz2 |
CFI: Fix invalid cast to PrefRegistrySyncable.
This bug was found by Control Flow Integrity check, see
https://sites.google.com/a/chromium.org/dev/developers/testing/control-flow-integrity
FeedbackUploaderTest initializes prefs registry with PrefRegistrySimple,
which then could be incorrectly casted to its subclass PrefRegistrySyncable.
The solution is to initialize prefs registry with PrefRegistrySyncable.
See more details in http://crbug.com/513953
BUG=chromium:513953, chromium:457523
Review URL: https://codereview.chromium.org/1259703003
Cr-Commit-Position: refs/heads/master@{#340969}
Diffstat (limited to 'components/components_tests.gyp')
-rw-r--r-- | components/components_tests.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp index 7493926..4b4b2dd 100644 --- a/components/components_tests.gyp +++ b/components/components_tests.gyp @@ -1145,6 +1145,7 @@ 'components.gyp:cryptauth', 'components.gyp:cryptauth_test_support', 'components.gyp:feedback_component', + 'components.gyp:pref_registry_test_support', 'components.gyp:proximity_auth', 'components.gyp:proximity_auth_test_support', ], |