Not sure if it is related, but this test if failing:<br><a href="http://open.cdash.org/testDetails.php?test=162737499&build=2839068">http://open.cdash.org/testDetails.php?test=162737499&build=2839068</a><br><br><br>
<div class="gmail_quote">On Fri, Mar 8, 2013 at 3:55 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sounds like Charles' code. I CC'ed him.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Mar 8, 2013 at 3:50 PM, Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br>
> Hi folks,<br>
><br>
> On 18 different VTK tests, clang's sanitizer complains about:<br>
><br>
> Filters/Geometry/vtkDataSetSurfaceFilter.cxx:2144:7: runtime error: index 4 out of bounds for type 'vtkIdType [4]'<br>
><br>
> I believe it is right to complain.  When 'numPts' is > 4, the write to 'ptArray' goes past the end.  The read of 'tab' is ok, as it is allocated to be big enough:<br>
><br>
> vtkIdType* tab = new vtkIdType[numPts];<br>
><br>
> But AFAICT, 'ptArray' is always 4 items big, despite the existence of the sizeofFastQuad() function and the comment "actually a variable length array.  MUST be last"<br>
><br>
> Someone out there know this code?<br>
><br>
> Thanks,<br>
><br>
> --<br>
> ____________________________________________________________<br>
> Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
> Rogue Research                        <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
> Mac Software Developer              Montréal, Québec, Canada<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>