diff options
| author | Richard M. Stallman | 1998-05-15 05:49:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-15 05:49:05 +0000 |
| commit | 6ebe9f826fcecf32e220df0d0830e4742e20b6d8 (patch) | |
| tree | a63dc148e80b77b643404e4ef0fd36a0e0538aec | |
| parent | 5a36f62bee8725e53d918d18657a95ad34e7fc75 (diff) | |
| download | emacs-6ebe9f826fcecf32e220df0d0830e4742e20b6d8.tar.gz emacs-6ebe9f826fcecf32e220df0d0830e4742e20b6d8.zip | |
(byte-decompile-bytecode-1):
Cope with an out-of-range constvec index.
| -rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 86f7309d1b7..63ff71ada15 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -1261,7 +1261,9 @@ | |||
| 1261 | tags))))))) | 1261 | tags))))))) |
| 1262 | ((cond ((eq op 'byte-constant2) (setq op 'byte-constant) t) | 1262 | ((cond ((eq op 'byte-constant2) (setq op 'byte-constant) t) |
| 1263 | ((memq op byte-constref-ops))) | 1263 | ((memq op byte-constref-ops))) |
| 1264 | (setq tmp (aref constvec offset) | 1264 | (setq tmp (if (>= offset (length constvec)) |
| 1265 | (list 'out-of-range offset) | ||
| 1266 | (aref constvec offset)) | ||
| 1265 | offset (if (eq op 'byte-constant) | 1267 | offset (if (eq op 'byte-constant) |
| 1266 | (byte-compile-get-constant tmp) | 1268 | (byte-compile-get-constant tmp) |
| 1267 | (or (assq tmp byte-compile-variables) | 1269 | (or (assq tmp byte-compile-variables) |