Skip to content

Conversation

@wawanbreton
Copy link
Contributor

Shape::findInside is supposed to return NO_INDEX if there is no point inside, but when empty it was returning 0, which is definitely not a valid polygon index. This causes crashes because the caller function assumes there is a valid polygon at index 0.

CURA-12463

CURA-12463
Shape::findInside is supposed to return NO_INDEX if there is no point inside, but when empty it was returning 0, which is definitely not a valid polygon index.
@github-actions
Copy link
Contributor

Test Results

27 tests  ±0   27 ✅ ±0   5s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit c5eeccc. ± Comparison against base commit 7ae0531.

@HellAholic HellAholic merged commit 8f95cdc into 5.10 Mar 17, 2025
23 of 24 checks passed
@HellAholic HellAholic deleted the CURA-12463_fix-biggest-slicing-crashes-in-Sentry branch March 17, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants