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

Issue 7465036: OOB read in harfbuzz with khmer character. (Closed)

Created:
9 years, 5 months ago by bashi
Modified:
9 years, 4 months ago
Reviewers:
agl, Evan Martin
CC:
chromium-reviews, behdad_google
Visibility:
Public.

Description

OOB read in harfbuzz with khmer character. Sets face->tmpLogClusters[i] to the last valid value of |item->log_clusters| when |i| exceeds the size of the |item->log_clusters|. BUG=90134 TEST=checked with ASAN and ran webkit/tools/layout_tests/run_webkit_tests.sh Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94616

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added an assertion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -15 lines) Patch
M third_party/harfbuzz/chromium.patch View 2 chunks +27 lines, -14 lines 0 comments Download
M third_party/harfbuzz/src/harfbuzz-shaper.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
bashi
9 years, 5 months ago (2011-07-26 10:47:13 UTC) #1
agl
LGTM http://codereview.chromium.org/7465036/diff/1/third_party/harfbuzz/src/harfbuzz-shaper.cpp File third_party/harfbuzz/src/harfbuzz-shaper.cpp (right): http://codereview.chromium.org/7465036/diff/1/third_party/harfbuzz/src/harfbuzz-shaper.cpp#newcode1157 third_party/harfbuzz/src/harfbuzz-shaper.cpp:1157: face->tmpLogClusters[i] = i < itemLength ? item->log_clusters[i] : ...
9 years, 5 months ago (2011-07-26 14:21:38 UTC) #2
bashi
Hi agl, Thank you taking a look. http://codereview.chromium.org/7465036/diff/1/third_party/harfbuzz/src/harfbuzz-shaper.cpp File third_party/harfbuzz/src/harfbuzz-shaper.cpp (right): http://codereview.chromium.org/7465036/diff/1/third_party/harfbuzz/src/harfbuzz-shaper.cpp#newcode1157 third_party/harfbuzz/src/harfbuzz-shaper.cpp:1157: face->tmpLogClusters[i] = ...
9 years, 5 months ago (2011-07-27 03:24:01 UTC) #3
commit-bot: I haz the power
9 years, 4 months ago (2011-07-29 01:58:31 UTC) #4
Change committed as 94616

Powered by Google App Engine
This is Rietveld 408576698