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

Issue 22929022: Treat negative utf8-units the same way as other broken encodings. (Closed)

Created:
7 years, 4 months ago by floitsch
Modified:
7 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Treat negative utf8-units the same way as other broken encodings. R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=26528

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M sdk/lib/convert/utf.dart View 1 1 chunk +13 lines, -1 line 0 comments Download
M tests/lib/convert/utf82_test.dart View 1 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
floitsch
7 years, 4 months ago (2013-08-21 14:48:17 UTC) #1
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/22929022/diff/1/sdk/lib/convert/utf.dart File sdk/lib/convert/utf.dart (right): https://codereview.chromium.org/22929022/diff/1/sdk/lib/convert/utf.dart#newcode458 sdk/lib/convert/utf.dart:458: if (unit < 0) { Would it be ...
7 years, 4 months ago (2013-08-22 06:10:42 UTC) #2
floitsch
I think we also allow values that are too large (if they satisfy the bit-pattern). ...
7 years, 4 months ago (2013-08-22 15:40:25 UTC) #3
floitsch
7 years, 4 months ago (2013-08-22 15:40:51 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r26528 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698