]> OCCT Git - occt.git/commit
Modeling - Fix null surface crash in fixshape (#623)
authorSander Adamson <sander.adamson@cloudnc.com>
Fri, 1 Aug 2025 17:10:21 +0000 (18:10 +0100)
committerdpasukhi <dpasukhi@opencascade.com>
Sat, 6 Sep 2025 20:18:29 +0000 (21:18 +0100)
commitb75c440830dcd1b172a0892fea55e758ce61e93c
treee7757f66c74d16df91685a96247e715c341223c8
parent5faa86f3e545b41ccc1aefbe44236fd6f450433d
Modeling - Fix null surface crash in fixshape (#623)

- Added null surface validation in ShapeAnalysis_Surface constructor and Init method
- Added null surface checks throughout ShapeFix_Face methods to prevent crashes
- Enhanced robustness by validating surface availability before performing surface-dependent operations
src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
src/ShapeFix/ShapeFix_Face.cxx
tests/bugs/modalg_8/bug33895 [new file with mode: 0644]