MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #22554 All Revisions ] Back to Issue ]
Summary 0022554: Application hangs on selection
Revision 2012-02-03 11:31 by aaa
Description In method Standard_Real Select3D_SensitiveCurve::ComputeDepth(),
(Select3D_Pnt*)mypolyg3d accessed without out-of-range check (mylastseg+1 can
be equal to mynbpoints).
If happens - this cause undefined behaviour or even application hang (if
values interpreted as QNAN).

In class Select3D_SensitivePoly fields mypolyg3d and mypolyg2d declared and
managed in unsafe manner. This cause potential errors in other places where
these arrays are used.
Revision 2012-02-01 16:42 by aaa
Description In method Standard_Real Select3D_SensitiveCurve::ComputeDepth(),
(Select3D_Pnt*)mypolyg3d accessed without out-of-range check (mylastseg+1 can
be equal to mynbpoints).
If happens - this cause undefined behaviour or even application hang (if
values interpreted as QNAN).

In class Select3D_SensitivePoly fields mypolyg3d and mypolyg2d declared and
managed in unsafe manner. This cause potential errors in other places where
these arrays are used.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker