"Thomas Morley" <[email protected]> writes:

> There's a recent discussion on -devel about how to draw curves with
> more than 4 control-points.
> http://lilypond.1069038.n5.nabble.com/stack-smashing-detected-tt221627.html
> Not sure yet what to do and how ..., but I'd love to keep the
> possibility of entering more than the default amount of control-point
> without a type-checking warning here.
> Ofcourse ly:slur::print, etc needs 4 control-points not more or less.
> Thus a warning while applying ly:slur::print to a not suitable amount
> of control-points could warn. (More control-points will need a
> different or extended procedure.)
> Is this doable with a reasonable amount of work?

I don't think it's worth the trouble: there are so many other ways to
provide faulty data.  This issue is about avoiding clobbering the stack,
not more, not less.  One could let it bomb out with some type error
instead by being less accepting, but adding additional code/warnings
seems to be mostly useless since most other ways to mess up would not be
covered anyway.

-- 
David Kastrup


---

** [issues:#5513] Avoid some crashes for bad "control-points" property**

**Status:** Started
**Created:** Thu Apr 25, 2019 05:35 PM UTC by David Kastrup
**Last Updated:** Fri Apr 26, 2019 08:45 AM UTC
**Owner:** David Kastrup


Avoid some crashes for bad "control-points" property

http://codereview.appspot.com/576610043


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to