-
Notifications
You must be signed in to change notification settings - Fork 537
Closed
Labels
0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categoriesThe issue was created, but not updated by maintainer. Waiting for updates labels and categories2. BugSomething isn't workingSomething isn't working
Description
Description
Fillet crashes (or used to) with a null pointer dereference when topologically distinct but geometrically coincident edges exist.
The offending code in 7.9.2 is here and dates back to at least 7.8.1 (where I encountered it).
The code assumes that a neighboring face Fv must contain an identical edge object E (using IsSame). However, this assumption does not always hold, resulting in a null newedge being passed down to HC->Initialize().
This was fixed in PR #743, which came after V8_0_0_rc2.
Is there any chance of backporting the null check to earlier versions?
Expected Behavior
I'd expect an error message.
Actual Behavior
It crashes with a segfault.
Sample Code or DRAW Tcl Script
n/a
Operating System
macOS
Compiler
Clang
Bitness
64-bit
OCCT Version
7.9
Additional Files
No response
Metadata
Metadata
Assignees
Labels
0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categoriesThe issue was created, but not updated by maintainer. Waiting for updates labels and categories2. BugSomething isn't workingSomething isn't working
Type
Projects
Status
Closed