aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-14 20:57:39 +0000
committerRichard M. Stallman1997-04-14 20:57:39 +0000
commit88b52bf54e0631505edbaeffa9e74aa9fb9f9af2 (patch)
treec09755c12d9a5e182612ab8a8cc11f84076d5ff8
parent0a1a8ee95bedd56b4d4696c042adb42e1da48297 (diff)
downloademacs-88b52bf54e0631505edbaeffa9e74aa9fb9f9af2.tar.gz
emacs-88b52bf54e0631505edbaeffa9e74aa9fb9f9af2.zip
(edebug-read-and-maybe-wrap-form): Protect
against pathological recursive calls.
-rw-r--r--lisp/emacs-lisp/edebug.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index b1c97b24048..74986e81aa2 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -9,7 +9,7 @@
9;; LCD Archive Entry: 9;; LCD Archive Entry:
10;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu 10;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu
11;; |A source level debugger for Emacs Lisp. 11;; |A source level debugger for Emacs Lisp.
12;; |$Date: 1996/12/26 20:46:51 $|$Revision: 3.13 $|~/modes/edebug.el| 12;; |$Date: 1997/04/12 08:30:46 $|$Revision: 3.14 $|~/modes/edebug.el|
13 13
14;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
15 15
@@ -86,7 +86,7 @@
86;;; Code: 86;;; Code:
87 87
88(defconst edebug-version 88(defconst edebug-version
89 (let ((raw-version "$Revision: 3.13 $")) 89 (let ((raw-version "$Revision: 3.14 $"))
90 (substring raw-version (string-match "[0-9.]*" raw-version) 90 (substring raw-version (string-match "[0-9.]*" raw-version)
91 (match-end 0)))) 91 (match-end 0))))
92 92
@@ -1132,8 +1132,10 @@ This controls how we read comma constructs.")
1132 ;; Here we just catch any no-match not caught below and signal an error. 1132 ;; Here we just catch any no-match not caught below and signal an error.
1133 1133
1134 ;; Run the setup hook. 1134 ;; Run the setup hook.
1135 (run-hooks 'edebug-setup-hook) 1135 ;; If it gets an error, make it nil.
1136 (setq edebug-setup-hook nil) 1136 (let ((temp-hook edebug-setup-hook))
1137 (setq edebug-setup-hook nil)
1138 (run-hooks 'temp-hook))
1137 1139
1138 (let (result 1140 (let (result
1139 edebug-top-window-data 1141 edebug-top-window-data