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

Issue 230173005: Fix for ASSERT and more with bad CSS input. (Closed)

Created:
6 years, 8 months ago by Daniel Bratell
Modified:
6 years, 8 months ago
CC:
blink-reviews, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@CHR-1552
Visibility:
Public.

Description

Fix for Assert and more with bad CSS input. The CSS input had a strange belief that users are nice and would not feed it strange strings. This caused asserts and bug 360403. BUG=360403 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171169

Patch Set 1 #

Total comments: 2

Patch Set 2 : ParseURI: Now with enum instead of bool. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -15 lines) Patch
M LayoutTests/fast/css/css-escaped-identifier.html View 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/css/CSSTokenizer-in.cpp View 1 7 chunks +20 lines, -14 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Daniel Bratell
jchaffraix and eseidel, you looked at similar bug a week ago, could you take a ...
6 years, 8 months ago (2014-04-09 13:28:52 UTC) #1
eseidel
https://codereview.chromium.org/230173005/diff/1/Source/core/css/CSSTokenizer-in.cpp File Source/core/css/CSSTokenizer-in.cpp (right): https://codereview.chromium.org/230173005/diff/1/Source/core/css/CSSTokenizer-in.cpp#newcode357 Source/core/css/CSSTokenizer-in.cpp:357: static inline CharacterType* checkAndSkipString(CharacterType* currentCharacter, int quote, bool validate) ...
6 years, 8 months ago (2014-04-09 17:47:31 UTC) #2
Daniel Bratell
https://codereview.chromium.org/230173005/diff/1/Source/core/css/CSSTokenizer-in.cpp File Source/core/css/CSSTokenizer-in.cpp (right): https://codereview.chromium.org/230173005/diff/1/Source/core/css/CSSTokenizer-in.cpp#newcode357 Source/core/css/CSSTokenizer-in.cpp:357: static inline CharacterType* checkAndSkipString(CharacterType* currentCharacter, int quote, bool validate) ...
6 years, 8 months ago (2014-04-09 18:07:38 UTC) #3
eseidel
lgtm Muuuuuch better.
6 years, 8 months ago (2014-04-09 18:09:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/230173005/20001
6 years, 8 months ago (2014-04-09 18:09:15 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-09 19:17:47 UTC) #6
Message was sent while issue was closed.
Change committed as 171169

Powered by Google App Engine
This is Rietveld 408576698