From ab7a4832dbcc1964c023d6035830b96b8e9076a3 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 11 Apr 2003 15:21:36 +0000 Subject: [PATCH] * python/lilylib.py (setup_temp): temporary directories are mode 700. (this is a security vulnerability). * Documentation/user/lilypond.tely: remove abbreviations (n't, 's) --- ChangeLog | 3 +++ Documentation/user/lilypond.tely | 2 +- VERSION | 2 +- lily/ly-module.cc | 3 +++ python/lilylib.py | 2 +- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75156c7caa..35e8c70be8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-04-11 Han-Wen Nienhuys + * python/lilylib.py (setup_temp): temporary directories are mode 700. + (this is a security vulnerability). + * Documentation/user/lilypond.tely: remove abbreviations (n't, 's) * lily/multi-measure-rest-engraver.cc (stop_translation_timestep): diff --git a/Documentation/user/lilypond.tely b/Documentation/user/lilypond.tely index 209525eefc..9d6e860d78 100644 --- a/Documentation/user/lilypond.tely +++ b/Documentation/user/lilypond.tely @@ -37,6 +37,7 @@ Distributions will want to install lilypond.info doing: @omflanguage English @end ignore +@c don't remove this comment. @ignore @@ -50,7 +51,6 @@ besides the reader and the writer. * don't use abbreviations (don't, won't, etc.) - @end ignore @ifhtml diff --git a/VERSION b/VERSION index 4a1c3730a8..12789aab6d 100644 --- a/VERSION +++ b/VERSION @@ -1,7 +1,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=7 -PATCH_LEVEL=15 +PATCH_LEVEL=16 MY_PATCH_LEVEL= # Use the above to send patches: MY_PATCH_LEVEL is always empty for a diff --git a/lily/ly-module.cc b/lily/ly-module.cc index 0fed4234f6..821e95ec85 100644 --- a/lily/ly-module.cc +++ b/lily/ly-module.cc @@ -61,6 +61,9 @@ define_one_var (void * closure, SCM key, SCM val, SCM result) return SCM_EOL; } +/* + Ugh signature of scm_internal_hash_fold () is inaccurate. + */ typedef SCM (*Hash_cl_func)(); void diff --git a/python/lilylib.py b/python/lilylib.py index 173d5d60cf..17992d8c96 100644 --- a/python/lilylib.py +++ b/python/lilylib.py @@ -208,7 +208,7 @@ def setup_temp (): if not __main__.keep_temp_dir_p: __main__.temp_dir = tempfile.mktemp (__main__.program_name) try: - os.mkdir (__main__.temp_dir, 0777) + os.mkdir (__main__.temp_dir, 0700) except OSError: pass -- 2.39.2