[vtk-developers] Cell Tree Locator Update

Biddiscombe, John A. biddisco at cscs.ch
Fri Jul 29 16:02:42 EDT 2011


I've fixed the crash caused by a numeric overflow. some compilers might not mind and not cause the segfault - I believe the intent was to allow the std:::numeric_limits max() to cause a large volume result which would exclude the bucket from consideration.

I'd added a check to stop it. Might be worth adding a few other tests as this class is new and we have little experience with  it. I'll add one myself I think.

patch attached

JB

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110729/c533e5ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Test-unititialized-min-max-extents-to-stop-numeric-o.patch
Type: application/octet-stream
Size: 1781 bytes
Desc: 0001-Test-unititialized-min-max-extents-to-stop-numeric-o.patch
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110729/c533e5ef/attachment-0001.obj>


More information about the vtk-developers mailing list