DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0030899

Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption

Open CASCADEOCCT:Data Exchangeclosed4 public notes

Search issues

Description

Some OBJ files might contain newline separator \ for splitting too long lines.
Reading such files with more than one splitter at ones leads to memory corruption.

Steps to reproduce

N/A

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Aug 14 15:06:55 2019 +0300

    0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption
    
    Fix misprint in condition.
02Author
03Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16240.440000000053 / 16274.830000000024 [-0.21%]
Products
Total CPU difference: 10458.480000000038 / 10475.390000000047 [-0.16%]
Windows-64-VC14:
OCCT
Total CPU difference: 17720.28125 / 17627.84375 [+0.52%]
Products
Total CPU difference: 12012.859375 / 11990.921875 [+0.18%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]