aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrRenderTarget.h
diff options
context:
space:
mode:
authorGravatar zoran.jovanovic <zoran.jovanovic@sonymobile.com>2015-04-16 11:03:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-16 11:03:16 -0700
commit9c798207b7c710148d7f2989e877a7ece62edd5e (patch)
tree3249a85b0a6287b0f36f8cd788104517f9f436ed /include/gpu/GrRenderTarget.h
parent72badbd99e2321bfbcb22f78218bbafa71af4698 (diff)
SkScaledBitmapSampler: fix memory overwritten
Memory will be overwritten while downsampling some interlaced gif images, most commonly with odd sizes, when index of destination row stores in the current line computed from GifInterlaceIter meets: X is an integer in [0..height-1] and (X < height) && ((X - sampleSize/2) % sampleSize == 0) && ((X - sampleSize/2)/sampleSize >= height/sampleSize) Signed-off-by: Lu Tong <lu.x.tong@sonymobile.com> BUG=skia: Review URL: https://codereview.chromium.org/1085253002
Diffstat (limited to 'include/gpu/GrRenderTarget.h')
0 files changed, 0 insertions, 0 deletions