Page MenuHome

BLI_polyfill_calc crash when use a big number of points
Closed, ResolvedPublicBUG

Description

In grease pencil, we have been using BLI_polyfill_calc ()for triangulate a stroke. During some tests with heavy geometries, we have detected the function crash when you have a lot of points and the memory cannot be allocated.

A possible solution could be used BLI_polyfill_calc_arena, but this doesn't solve the root issue.We keep this bug in order to keep the bug listed.