diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-06 16:00:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-06 16:00:54 +0400 |
commit | b6a803fb368953bca1a7480694a7ab6d97439fad (patch) | |
tree | 1a971e19ab4a55c1b8c85868220ea3b1b616f693 /source/blender/editors/space_clip | |
parent | 098d611c7b8dc5178c5dd89fc02148ab2ed5b983 (diff) |
fix reading past array bounds for nearest_uv_between() and draw_tracking_tracks().
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c index b22c9a60bdc..5e940df2a30 100644 --- a/source/blender/editors/space_clip/clip_draw.c +++ b/source/blender/editors/space_clip/clip_draw.c @@ -1126,7 +1126,7 @@ static void draw_tracking_tracks(SpaceClip *sc, ARegion *ar, MovieClip *clip, if (MARKER_VISIBLE(sc, track, marker)) { float npos[2]; - copy_v4_v4(vec, track->bundle_pos); + copy_v3_v3(vec, track->bundle_pos); vec[3] = 1; mul_v4_m4v4(pos, mat, vec); |