occt: master c13de402

Author Committer Branch Timestamp Parent
msv apn master 2017-02-01 08:35:50 master 4cf17e1c
Affected Issues  0028327: BSplCLib can cause memory corruption in degenerated cases
Changeset 0028327: BSplCLib can cause memory corruption in degenerated cases

The code of the methods BSplCLib::KnotForm and BSplCLib::MultForm has been made safe by giving up using of address of array item for iteration on the Array1. Also the checking for degenerated case has been added to prevent out of bounds exception.
mod - src/BSplCLib/BSplCLib.cxx Diff File