Archived issue #0029926
Modeling Algorithms - NULL dereference within GProp_GProps on Edge without 2D Curve
Description
GProp_GProps crashes when passing an Edge without 2D Curve (NULL dereference).
Steps to reproduce
pload MODELING VISUALIZATION restore [locate_data Attachment 1 (BREP)] f vinit View1 vdisplay -dispMode 1 f vfit sprops f vprops f
Result:
** Exception ** 0000000005334190 : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x0000000000000000 during 'READ' operation
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jul 4 12:09:50 2018 +0300
0029926: Modeling Algorithms - NULL dereference within GProp_GProps on Edge without 2D Curve
Added NULL check to BRepGProp_Face::Load().
[revision removed]
Detailed log of new commits:
Author: Author
Date: Wed Jul 4 12:09:50 2018 +0300
0029926: Modeling Algorithms - NULL dereference within GProp_GProps on Edge without 2D Curve
Added NULL check to BRepGProp_Face::Load().
Patch CR29926 just adds NULL check.
As has been discussed, it is proposed adding an interface to high-level tools computing shape properties,
which will return the completeness of computed values (e.g. enumeration - Complete, Failed and Partial).
As has been discussed, it is proposed adding an interface to high-level tools computing shape properties,
which will return the completeness of computed values (e.g. enumeration - Complete, Failed and Partial).
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Analysis
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records