]> OCCT Git - occt-copy.git/commit
0026324: Visualization - fix iteration through corrupted memory in AIS_LocalContext...
authorvpa <vpa@opencascade.com>
Mon, 8 Jun 2015 14:52:17 +0000 (17:52 +0300)
committerdbv <dbv@opencascade.com>
Wed, 17 Jun 2015 07:33:40 +0000 (10:33 +0300)
commit1521d40f5dc0df302c29e29e2dd22376970a9df0
treec4b880f3c4d6b27e90fcbdf5b8f878d7e47fbe6d
parent3a91994fedf95cfcb37a6c7b9ce850c3344e346b
0026324: Visualization - fix iteration through corrupted memory in AIS_LocalContext::FindSelectedOwnerFromShape

The signature of SelectMgr_ViewerSelector::ActiveOwners is changed to return output parameter to avoid crash
src/AIS/AIS_LocalContext_1.cxx
src/SelectMgr/SelectMgr_ViewerSelector.cxx
src/SelectMgr/SelectMgr_ViewerSelector.hxx