]> OCCT Git - occt-copy.git/commit
0029029: Exception Raised with no Result during reading file 2033zsh1_1.stp
authorgka <gka@opencascade.com>
Tue, 3 Oct 2017 14:28:32 +0000 (17:28 +0300)
committerkgv <kgv@opencascade.com>
Mon, 4 Dec 2017 18:11:47 +0000 (21:11 +0300)
commita8037873dc7a01f6e6dd58604a929c1a10ff35b0
tree779afbb823021485f42328c1ead91854b08bf844
parent80b73262366961a2ce7499d165e20066d620c1a5
0029029: Exception Raised with no Result during reading file 2033zsh1_1.stp

Static function stepstrcmp() in StepData_StepReaderData.cxx is replaced by plain strcmp() to have the full strings compared (stepstrcmp() returned true if one of strings was longer than the other but common part was equal).
Protection is added to avoid exception for cases when representation entities are NULL
src/STEPConstruct/STEPConstruct_Assembly.cxx
src/STEPControl/STEPControl_ActorRead.cxx
src/StepData/StepData_StepReaderData.cxx
tests/bugs/step/bug29029 [new file with mode: 0644]