]> 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)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 11:32:38 +0000 (14:32 +0300)
commitbd7987d5dd1fb2021ef97f3b398776e48be006d3
treeaea7d313b6c8d9cc3a26b3456974c4b03b27043e
parent06ce88fdefe6855e50fe58688b7aef84cdc21e26
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