Commit bb9f36e2 authored by Cory Quammen's avatar Cory Quammen
Browse files

BUG: Fix a possible stack corruption

Some triangle/triangle intersection tests could potentially cause a
write past the end of an array. Increased the array size to prevent
this.

Change-Id: I2f4a807dcbb9b943cd2e3ce390a399ee71b87e6f
parent 86ef18f4
......@@ -982,7 +982,7 @@ int vtkIntersectionPolyDataFilter
vtkMath::Normalize( v );
int index1 = 0, index2 = 0;
double t1[2], t2[2];
double t1[3], t2[3];
for (int i = 0; i < 3; i++)
{
double t, x[3];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment