diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/obsolete/fast-lock.el | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e154ef40d7c..964fc9ab424 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-05-14 Simon Marshall <simon@gnu.org> | ||
| 2 | |||
| 3 | * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "." | ||
| 4 | from its default value and give it the risky-local-variable | ||
| 5 | property (CVE-2008-2142). | ||
| 6 | |||
| 1 | 2008-05-14 Kenichi Handa <handa@m17n.org> | 7 | 2008-05-14 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * language/korean.el ("Korean"): Set `iso639-language' | 9 | * language/korean.el ("Korean"): Set `iso639-language' |
diff --git a/lisp/obsolete/fast-lock.el b/lisp/obsolete/fast-lock.el index 0b85618ec1d..eba7b5bd3e4 100644 --- a/lisp/obsolete/fast-lock.el +++ b/lisp/obsolete/fast-lock.el | |||
| @@ -270,7 +270,7 @@ for buffers in Rmail mode, and size is irrelevant otherwise." | |||
| 270 | (integer :tag "size"))))) | 270 | (integer :tag "size"))))) |
| 271 | :group 'fast-lock) | 271 | :group 'fast-lock) |
| 272 | 272 | ||
| 273 | (defcustom fast-lock-cache-directories '("." "~/.emacs-flc") | 273 | (defcustom fast-lock-cache-directories '("~/.emacs-flc") |
| 274 | ; - `internal', keep each file's Font Lock cache file in the same file. | 274 | ; - `internal', keep each file's Font Lock cache file in the same file. |
| 275 | ; - `external', keep each file's Font Lock cache file in the same directory. | 275 | ; - `external', keep each file's Font Lock cache file in the same directory. |
| 276 | "*Directories in which Font Lock cache files are saved and read. | 276 | "*Directories in which Font Lock cache files are saved and read. |
| @@ -288,12 +288,15 @@ For example: | |||
| 288 | ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\") | 288 | ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\") |
| 289 | 289 | ||
| 290 | would cause a file's current directory to be used if the file is under your | 290 | would cause a file's current directory to be used if the file is under your |
| 291 | home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'." | 291 | home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'. |
| 292 | For security reasons, it is not advisable to use the file's current directory | ||
| 293 | to avoid the possibility of using the cache of another user." | ||
| 292 | :type '(repeat (radio (directory :tag "directory") | 294 | :type '(repeat (radio (directory :tag "directory") |
| 293 | (cons :tag "Matching" | 295 | (cons :tag "Matching" |
| 294 | (regexp :tag "regexp") | 296 | (regexp :tag "regexp") |
| 295 | (directory :tag "directory")))) | 297 | (directory :tag "directory")))) |
| 296 | :group 'fast-lock) | 298 | :group 'fast-lock) |
| 299 | (put 'fast-lock-cache-directories 'risky-local-variable t) | ||
| 297 | 300 | ||
| 298 | (defcustom fast-lock-save-events '(kill-buffer kill-emacs) | 301 | (defcustom fast-lock-save-events '(kill-buffer kill-emacs) |
| 299 | "*Events under which caches will be saved. | 302 | "*Events under which caches will be saved. |