Skip to content

Div by zero in AggMathStroke.StrokeCalcCap #12

@studylamp

Description

@studylamp

Had a case during some testing where StrokeCalcCap got called with Len = 0. This if course caused a division by zero crash on Da := 1 / Len.

As a hack fix, I just added a test to exit the procedure if Len is 0, but I am not sure what the implications of this are.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions