Archived issue #0024246

Draw command stepread given without arguments throws an exception

Open CASCADEOCCT:DRAWclosed3 public notes

Search issues

Description

Draw command stepread given whithout arguments throws an exception

Steps to reproduce

stepread
An exception was caught 00710AFC : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0xFDFDFDFD during 'READ' operation
** Exception ** 00710AFC : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0xFDFDFDFD during 'READ' operation

Additional information

Added check for the number of arguments.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Git branch CR24246 is ready to be reviewed.
02Commenter 2
Minor remark: DRAW command should return 1 in case of error; the correction is pushed to CR24246. Reviewed, please test
03Commenter 2
Dear Commenter 1,

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

Number of compiler warnings:

occt component :
Linux: 370 (370 on master)
Windows: 6 (6 on master)

products component :
Linux: 191 (191 on master)
Windows: 287 (287 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 350282132 / 350442476
Total CPU difference: 42091.58000000102 / 43210.250000000946

Testing on Windows:
Total MEMORY difference: 406819308 / 411299304
Total CPU difference: 28744.3125 / 37715.765625

There are not differences in images found by testdiff.