From 5af01dd18d4e4c0384394e6df75ea35eddc0d76f Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 28 Jan 2004 21:54:28 +0000 Subject: [PATCH] * Documentation/topdocs/NEWS.texi: Add note about safe mode. * input/no-notation/dos-guile.ly: * input/no-notation/dos-ps.ly: * input/no-notation/dos-tex.ly: New file. These tests still FAIL. --- ChangeLog | 3 ++- Documentation/topdocs/NEWS.texi | 4 +++- input/no-notation/dos-guile.ly | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 input/no-notation/dos-guile.ly diff --git a/ChangeLog b/ChangeLog index eba6302d35..37cd37b94e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 2004-01-28 Jan Nieuwenhuizen * Documentation/topdocs/NEWS.texi: Add note about safe mode. - + + * input/no-notation/dos-guile.ly: * input/no-notation/dos-ps.ly: * input/no-notation/dos-tex.ly: New file. These tests still FAIL. diff --git a/Documentation/topdocs/NEWS.texi b/Documentation/topdocs/NEWS.texi index f576d229a5..aab90824cc 100644 --- a/Documentation/topdocs/NEWS.texi +++ b/Documentation/topdocs/NEWS.texi @@ -24,7 +24,9 @@ file output is disallowed, and lilypond-bin is invoked with @code{--safe-mode}, the user's Guile expressions are evaluated in a safe environment and file inclusion is not allowed. -Be warned that a DOS attack using @TeX{} or PostScript is rather easy. +Be warned that a DOS attack using Guile, @TeX{} or PostScript is +rather easy. + (This feature is still experimental.) @item There is now a Scheme macro for defining markup diff --git a/input/no-notation/dos-guile.ly b/input/no-notation/dos-guile.ly new file mode 100644 index 0000000000..db4ccbbc8f --- /dev/null +++ b/input/no-notation/dos-guile.ly @@ -0,0 +1,14 @@ +\version "2.1.16" + +\header{ + + texidoc = "This should not hang lilypond --safe-mode." + +} + +% DOS +#(do () (#f)) + +\score{ + \notes c'' +} \ No newline at end of file -- 2.39.5