Crash - when setting Taper Stroke LPE parameters

Summary:

Inkscape 1.3.2 and 1.4 beta crash on Linux when setting Taper Stroke LPE start offset to 0 and end offset greater than stroke length.

Steps to reproduce:

  • open this file crash.svg

  • open LPE dialog

  • Set End Offset to a value greater than stroke length

What happened?

The Application crashed

What should have happened?

The application shouldn't crash, and clamp the end offset to the stroke length (I think)

Sample attachments: crashlog.txt crash

Version info

Inkscape 1.3.2 (1:1.3.2+202311252150+091e20ef)

GLib version:     2.72.4
GTK version:      3.24.33
glibmm version:   2.66.2
gtkmm version:    3.24.5
libxml2 version:  2.9.13
libxslt version:  1.1.34
Cairo version:    1.16.0
Pango version:    1.50.6
HarfBuzz version: 2.7.4

OS version:       Ubuntu 22.04.4 LTS
Edited by Adam Belis