DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0029926

Modeling Algorithms - NULL dereference within GProp_GProps on Edge without 2D Curve

Open CASCADEOCCT:Modeling Algorithmsassigned5 public notes

Search issues

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.

01Commenter 3
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().
02Author
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).

03Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 4
Analysis
05Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records