diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-01 05:49:20 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-06-01 15:02:30 +0300 |
commit | 58e3d82108a016f535fc3099be375c84aafd9167 (patch) | |
tree | ec7c27b64e5f6134d8f4a41987544697e816661f /source | |
parent | 6dde03eb4aa71a0a2752cbd89933eeab4fab361f (diff) |
Fix buffer overrun in paint_line_strokes_spacing
Error in 87cafe92ce2f99d8da620b80e1c26f8078554f93
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 463334720c5..b395eea03e5 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -1164,7 +1164,7 @@ static void paint_line_strokes_spacing(bContext *C, { UnifiedPaintSettings *ups = stroke->ups; - float mouse[2], dmouse[2]; + float mouse[3], dmouse[2]; float length; sub_v2_v2v2(dmouse, new_pos, old_pos); |