MantisBT
Mantis Bug Tracker Workflow

occt: master 472433e2 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
abv bugmaster master 2017-12-02 08:24:58 master 67160f4e
Affected Issues 0029355: OCCT 6.9.1 persistence restored in OCCT 7.2.0 not working
Changeset 0029355: OCCT 6.9.1 persistence restored in OCCT 7.2.0 not working

Auxiliary classes StdObjMgt_ReadData::Object and StdObjMgt_WriteData::Object are renamed to "ObjectSentry" (to better reflect their nature); constructor is made explicit to ensure that such objects are always created intentionally.
These objects are instantiated explicitly in the body of relevant functions, instead of implicit creation as temporary objects when function requires such object as argument.
Variable used to get char from stream is nullified in several places in FSD_File and other classes, to avoid possible usage of uninitialized memory in case if stream is bad.
mod - src/DDF/DDF_IOStream.cxx Diff ] File ]
mod - src/FSD/FSD_CmpFile.cxx Diff ] File ]
mod - src/FSD/FSD_File.cxx Diff ] File ]
mod - src/ShapePersistent/ShapePersistent_HArray1.hxx Diff ] File ]
mod - src/StdLPersistent/StdLPersistent_HArray1.cxx Diff ] File ]
mod - src/StdLPersistent/StdLPersistent_HArray2.cxx Diff ] File ]
mod - src/StdLPersistent/StdLPersistent_HString.cxx Diff ] File ]
mod - src/StdObject/StdObject_gp_Axes.hxx Diff ] File ]
mod - src/StdObject/StdObject_gp_Trsfs.hxx Diff ] File ]
mod - src/StdObject/StdObject_gp_Vectors.hxx Diff ] File ]
mod - src/StdObject/StdObject_Location.hxx Diff ] File ]
mod - src/StdObject/StdObject_Shape.hxx Diff ] File ]
mod - src/StdObjMgt/StdObjMgt_ReadData.cxx Diff ] File ]
mod - src/StdObjMgt/StdObjMgt_ReadData.hxx Diff ] File ]
mod - src/StdObjMgt/StdObjMgt_WriteData.cxx Diff ] File ]
mod - src/StdObjMgt/StdObjMgt_WriteData.hxx Diff ] File ]
mod - tests/bugs/fclasses/begin Diff ] File ]
add - tests/bugs/fclasses/bug29355 Diff ] File ]


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker