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

Issue 1872953002: Fix stride bug for msan on I420Interpolate. (Closed)

Created:
4 years, 8 months ago by fbarchard1
Modified:
4 years, 8 months ago
Reviewers:
Diony Rosa
Base URL:
https://chromium.googlesource.com/libyuv/libyuv@master
Target Ref:
refs/heads/master
Project:
libyuv
Visibility:
Public.

Description

Fix stride bug for msan on I420Interpolate. When using C version of I420Interpolate for msan, a 50% interpolation would cause stride to be cast to int, which could cause erroneous memory reads on 64 bit build. This CL makes the stride use ptrdiff_t for HalfRow_C BUG=libyuv:582 TESTED=try bots tests R=dhrosa@google.com Committed: https://chromium.googlesource.com/libyuv/libyuv/+/3c862e3d29f326902656c23b7e309f32adb7822c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -8 lines) Patch
M README.chromium View 1 chunk +1 line, -1 line 0 comments Download
M include/libyuv/version.h View 1 chunk +1 line, -1 line 0 comments Download
M source/planar_functions.cc View 1 chunk +1 line, -2 lines 0 comments Download
M source/row_common.cc View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
fbarchard1
4 years, 8 months ago (2016-04-08 21:46:18 UTC) #1
Diony Rosa
lgtm Thanks!
4 years, 8 months ago (2016-04-08 21:55:43 UTC) #2
fbarchard1
4 years, 8 months ago (2016-04-08 22:58:58 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
3c862e3d29f326902656c23b7e309f32adb7822c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698