MantisBT - Open CASCADE
View Issue Details
0030899Open CASCADE[OCCT] OCCT:Data Exchangepublic2019-08-14 15:062019-08-17 12:24
kgv 
bugmaster 
normaltrivial 
closedfixed 
[OCCT] 7.4.0 
[OCCT] 7.4.0[OCCT] 7.4.0 
de_mesh/obj_read/multiline
0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption
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.
N/A
No tags attached.
? multiline.obj (668) 2019-08-14 15:06
https://tracker.dev.opencascade.org/
Issue History
2019-08-14 15:06kgvNew Issue
2019-08-14 15:06kgvAssigned To => kgv
2019-08-14 15:06kgvFile Added: multiline.obj
2019-08-14 15:17gitNote Added: 0086246
2019-08-14 15:19kgvRelationship addedchild of 0029296
2019-08-14 15:27kgvRelationship addedrelated to 0029786
2019-08-14 16:36kgvNote Added: 0086247
2019-08-14 16:36kgvSeverityminor => trivial
2019-08-14 16:36kgvAssigned Tokgv => bugmaster
2019-08-14 16:36kgvStatusnew => resolved
2019-08-14 16:36kgvStatusresolved => reviewed
2019-08-14 19:56bugmasterTest case number => de_mesh/obj_read/multiline
2019-08-14 19:59bugmasterNote Added: 0086249
2019-08-14 19:59bugmasterStatusreviewed => tested
2019-08-17 12:07bugmasterChangeset attached => occt master 5e2477a7
2019-08-17 12:07bugmasterStatustested => verified
2019-08-17 12:07bugmasterResolutionopen => fixed
2019-08-17 12:24gitNote Added: 0086299

Notes
(0086246)
git   
2019-08-14 15:17   
Branch CR30899 has been created by kgv.

SHA-1: e42b729de357c4946cbec657b3596e293d0cdfc9


Detailed log of new commits:

Author: kgv
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.
(0086247)
kgv   
2019-08-14 16:36   
Please take the patch.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30899-master-KGV [^]
(0086249)
bugmaster   
2019-08-14 19:59   
Combination -
OCCT branch : CR30899
master SHA - e42b729de357c4946cbec657b3596e293d0cdfc9
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : master SHA - 1144fe7d76516b4f51602e5bca86c8f2a51359c7
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
(0086299)
git   
2019-08-17 12:24   
Branch CR30899 has been deleted by inv.

SHA-1: e42b729de357c4946cbec657b3596e293d0cdfc9