Fix non-conditional out-of-bounds memory access in DoubleEdgeMask node

This commit is contained in:
Sv. Lockal 2013-07-04 17:57:03 +00:00
parent ea5f0ec962
commit 12d5340a5a

@ -1284,7 +1284,7 @@ void DoubleEdgeMaskOperation::executePixel(float output[4], int x, int y, void *
{
float *buffer = (float *)data;
int index = (y * this->getWidth() + x);
copy_v4_v4(output, buffer + index);
output[0] = buffer[index];
}
void DoubleEdgeMaskOperation::deinitExecution()