MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030899Open CASCADE[OCCT] OCCT:Data Exchangepublic2019-08-14 15:062019-08-17 12:24
Reporterkgv 
Assigned Tobugmaster 
PrioritynormalSeveritytrivial 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.4.0Fixed in Version 
Summary0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption
DescriptionSome 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 ReproduceN/A
TagsNo tags attached.
Test case numberde_mesh/obj_read/multiline
Attached Files? file icon multiline.obj (668 bytes) 2019-08-14 15:06

- Relationships

-  Notes
(0086246)
git (administrator)
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 (developer)
2019-08-14 16:36

Please take the patch.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30899-master-KGV [^]
(0086249)
bugmaster (administrator)
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 (administrator)
2019-08-17 12:24

Branch CR30899 has been deleted by inv.

SHA-1: e42b729de357c4946cbec657b3596e293d0cdfc9

- Related Changesets
occt: master 5e2477a7
Timestamp: 2019-08-14 12:06:55
Author: kgv
Committer: bugmaster
Details ] Diff ]
0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption

Fix misprint in condition.
mod - src/RWObj/RWObj_Reader.cxx Diff ] File ]
add - tests/de_mesh/obj_read/multiline Diff ] File ]

- Issue History
Date Modified Username Field Change
2019-08-14 15:06 kgv New Issue
2019-08-14 15:06 kgv Assigned To => kgv
2019-08-14 15:06 kgv File Added: multiline.obj
2019-08-14 15:17 git Note Added: 0086246
2019-08-14 15:19 kgv Relationship added child of 0029296
2019-08-14 15:27 kgv Relationship added related to 0029786
2019-08-14 16:36 kgv Note Added: 0086247
2019-08-14 16:36 kgv Severity minor => trivial
2019-08-14 16:36 kgv Assigned To kgv => bugmaster
2019-08-14 16:36 kgv Status new => resolved
2019-08-14 16:36 kgv Status resolved => reviewed
2019-08-14 19:56 bugmaster Test case number => de_mesh/obj_read/multiline
2019-08-14 19:59 bugmaster Note Added: 0086249
2019-08-14 19:59 bugmaster Status reviewed => tested
2019-08-17 12:07 bugmaster Changeset attached => occt master 5e2477a7
2019-08-17 12:07 bugmaster Status tested => verified
2019-08-17 12:07 bugmaster Resolution open => fixed
2019-08-17 12:24 git Note Added: 0086299


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker