[vtk-developers] Undefined Behavior in vtkPointLocator.h
sean at rogue-research.com
Wed Jan 10 17:01:12 EST 2018
On Wed, 10 Jan 2018 16:46:51 -0500, Mmanu Chaturvedi said:
>On building VTK with UBSan, and running the following test:
>`ctest -VV -R vtkInteractionWidgetsCxx-TestPlaneWidget`
>UBSan produces runtime errors due to the casting done in lines 282 --- 284,
>similar to this:
>runtime error: value -1.81708e+299 is outside the range of representable
>values of type 'long long'
>I believe one way to solve the problem would be to do something like the
>But this increases the test's time significantly.
>I was wondering if someone could propose a proper fix.
This gives me deja vu... I believe this is related:
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers