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

Issue 1366563006: CFI: fix a bad cast from icu_54::Quantifier to icu_54::UnicodeSet. (Closed)

Created:
5 years, 3 months ago by krasin
Modified:
5 years, 2 months ago
Reviewers:
jungshik at Google
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/deps/icu.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

CFI: fix a bad cast from icu_54::Quantifier to icu_54::UnicodeSet. Instead of casting icu_54::Quantifier* to its superclass icu_54::UnicodeFunctor*, there's a cast to another UnicodeFunctor* subclass, icu_54::UnicodeSet*. Looks like a accidental typo. This bug was found by Control Flow Integrity check: https://sites.google.com/a/chromium.org/dev/developers/testing/control-flow-integrity BUG=chromium:528799

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M source/i18n/rbt_pars.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (1 generated)
krasin
5 years, 3 months ago (2015-09-25 02:15:38 UTC) #2
Hi Jungshik,

feel free to land this patch using ICU-specific way, if there's one.

Powered by Google App Engine
This is Rietveld 408576698