[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60636] trunk/blender/source/blender/ editors/sculpt_paint/paint_cursor.c: Fix uber evil (-15 alignment points) own buffer overflow
Antony Riakiotakis
kalast at gmail.com
Wed Oct 9 18:53:35 CEST 2013
Revision: 60636
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60636
Author: psy-fi
Date: 2013-10-09 16:53:35 +0000 (Wed, 09 Oct 2013)
Log Message:
-----------
Fix uber evil (-15 alignment points) own buffer overflow
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c 2013-10-09 16:49:13 UTC (rev 60635)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c 2013-10-09 16:53:35 UTC (rev 60636)
@@ -97,7 +97,7 @@
memset(&primary_snap, 0, sizeof(TexSnapshot));
memset(&secondary_snap, 0, sizeof(TexSnapshot));
- memset(&cursor_snap, 0, sizeof(TexSnapshot));
+ memset(&cursor_snap, 0, sizeof(CursorSnapshot));
BKE_paint_invalidate_overlay_all();
}
More information about the Bf-blender-cvs
mailing list