Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-06 16:00:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-06 16:00:54 +0400
commitb6a803fb368953bca1a7480694a7ab6d97439fad (patch)
tree1a971e19ab4a55c1b8c85868220ea3b1b616f693 /source/blender/editors/space_clip
parent098d611c7b8dc5178c5dd89fc02148ab2ed5b983 (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.c2
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);