DescriptionFix out-of-range access in unibrow::Utf8::CalculateValue.
This code should not access bytes out of the permitted range in order to check
the range of a possible UTF-8 value. Instead, the length check should occur
before such checks.
BUG=chromium:667260, chromium:662822
Committed: https://crrev.com/9d524bd33dd2e8d861128499b1ffa3b3c6377628
Cr-Commit-Position: refs/heads/master@{#41165}
Patch Set 1 #
Total comments: 6
Messages
Total messages: 16 (10 generated)
|