Scheme execution

From ZMOG test wiki (master branch)
Revision as of 01:05, 6 December 2026 by Johnno (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

T441579 mitigating Scheme execution risks

Can we just reject anything containing #( ... scheme code ... ) sequences and be happy with slightly reduced LilyPond functionality?

Examples

From Dynamics (music), contains #(set-global-staff-size 14):

segment of music notation generated by Score

From Drill Call, contains #(layout-set-staff-size 18) and uses raw=1:

segment of music notation generated by Score

From Drum beat, contains #(ly:make-moment 1/8) and uses raw=1:

segment of music notation generated by Score

From Doo-wop, uses #n numbers, parameters to \hspace:

segment of music notation generated by Score