]> OCCT Git - occt.git/commit
Modeling - Fix out-of-range access in BSplCLib_Reverse function (#863)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sat, 29 Nov 2025 21:54:09 +0000 (21:54 +0000)
committerGitHub <noreply@github.com>
Sat, 29 Nov 2025 21:54:09 +0000 (21:54 +0000)
commita91a0d189ae572df2cbeff770dcdd9d995bdc7e4
tree02df0b8daaffef99e18535f6f784b27da69acc47
parent29631c61dea9fbee570e7e76aa41e949253515eb
Modeling - Fix out-of-range access in BSplCLib_Reverse function (#863)

- Added a conditional check `if (aL < aUpper)` to prevent accessing array elements beyond bounds when `aL` equals or exceeds `aUpper`
src/FoundationClasses/TKMath/BSplCLib/BSplCLib_CurveComputation.pxx