* input/no-notation/dos-tex.ly: New file. These tests still FAIL.
2004-01-28 Jan Nieuwenhuizen <janneke@gnu.org>
+ * Documentation/topdocs/NEWS.texi: Add note about safe mode.
+
+ * input/no-notation/dos-ps.ly:
+ * input/no-notation/dos-tex.ly: New file. These tests still FAIL.
+
* input/no-notation/safe-include.ly:
* input/no-notation/safe-guile.ly:
* input/no-notation/safe-ps.ly:
* python/lilylib.py (get_bbox, make_ps_images): Add -dSAFER to gs
options.
- * Documentation/topdocs/NEWS.texi: Add note about safe mode.
-
* mf/GNUmakefile (FETA_LIST_FILES): Install feta*list.lys too.
This allows building the user manual using a binary installation
and a matching unpacked source tree.
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.
(This feature is still experimental.)
@item There is now a Scheme macro for defining markup
--- /dev/null
+\version "2.1.16"
+
+\header{
+
+ texidoc = "This should not hang lilypond --safe-mode --no-pdf
+ --png run.
+
+}
+
+\score{
+ % DOS
+ \notes c''-"\\embeddedps{ { 0 0 moveto } loop }"
+}
--- /dev/null
+\version "2.1.16"
+
+\header{
+
+ texidoc = "This should not hang lilypond --safe-mode run."
+
+}
+
+\score{
+ % DOS
+ \notes c''-"\\loop\\iftrue\\repeat"
+}
\version "2.1.16"
\header{
- texidoc = "This should not survive lilypond run, and certainly not
- write /tmp/safe-ps.ps"
+ texidoc = "This should not survive lilypond --safe-mode
+ --no-pdf --png run, and certainly not write /tmp/safe-ps.ps"
}
\score{
\notes c''-"\\embeddedps{ (/tmp/safe-ps.ps) (w) file (hallo) writestring }"
-
}
\header{
- texidoc = "This should not survive lilypond --safe-mode --no-pdf --png
- run, and certainly not write /tmp/safe-tex.tex"
+ texidoc = "This should not survive lilypond --safe-mode run, and
+ certainly not write /tmp/safe-tex.tex"
% beware
% openout_any=y lilypond --keep --safe-mode -S latexoptions=']{article}