DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0024283

STEP read failes to read unbound advanced_face

CommunityOCCT:Data Exchangeclosed3 public notes

Search issues

Description

when reading a sphere(any unbounded advanced_face)

RWStepShape_RWAdvancedFace::ReadStep()

throws because it tries to create an invalid array:
      aBounds = new StepShape_HArray1OfFaceBound (1, nb2);
with nb2 == 0

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Branch CR24283 is ready to be reviewed
02Commenter 2
No remarks, please test
03Commenter 1
Dear Commenter 2,

Branch CR24283 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 103 (103 on master)
Windows: 0 (0 on master)

products component :
Linux: 21 (21 on master)
Windows: 8 (8 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
bugs step bug24283_1 - OK
bugs step bug24283_2 - OK

Testing on Linux:
Total MEMORY difference: 358854732 / 358965560
Total CPU difference: 43465.259999999944 / 67595.85000000008

Testing on Windows:
Total MEMORY difference: 413749196 / 413290704
Total CPU difference: 30419.671875 / 30600.359375

There are not differences in images found by testdiff.