From: janneke Date: Wed, 28 Jan 2004 21:54:28 +0000 (+0000) Subject: * Documentation/topdocs/NEWS.texi: Add note about safe mode. X-Git-Tag: release/2.1.17^2~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1b97266770bc721e115e340d6dff01c1cf778c7b;p=lilypond.git * 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/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