[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57998] trunk/blender/source/blender/ compositor/operations/COM_DoubleEdgeMaskOperation.cpp: Fix non-conditional out-of-bounds memory access in DoubleEdgeMask node

Sv. Lockal lockalsash at gmail.com
Thu Jul 4 19:57:03 CEST 2013


Revision: 57998
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57998
Author:   lockal
Date:     2013-07-04 17:57:03 +0000 (Thu, 04 Jul 2013)
Log Message:
-----------
Fix non-conditional out-of-bounds memory access in DoubleEdgeMask node

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp

Modified: trunk/blender/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp	2013-07-04 14:59:26 UTC (rev 57997)
+++ trunk/blender/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp	2013-07-04 17:57:03 UTC (rev 57998)
@@ -1284,7 +1284,7 @@
 {
 	float *buffer = (float *)data;
 	int index = (y * this->getWidth() + x);
-	copy_v4_v4(output, buffer + index);
+	output[0] = buffer[index];
 }
 
 void DoubleEdgeMaskOperation::deinitExecution()




More information about the Bf-blender-cvs mailing list