(byte-decompile-bytecode-1):
Cope with an out-of-range constvec index.
This commit is contained in:
parent
5a36f62bee
commit
6ebe9f826f
1 changed files with 3 additions and 1 deletions
|
@ -1261,7 +1261,9 @@
|
|||
tags)))))))
|
||||
((cond ((eq op 'byte-constant2) (setq op 'byte-constant) t)
|
||||
((memq op byte-constref-ops)))
|
||||
(setq tmp (aref constvec offset)
|
||||
(setq tmp (if (>= offset (length constvec))
|
||||
(list 'out-of-range offset)
|
||||
(aref constvec offset))
|
||||
offset (if (eq op 'byte-constant)
|
||||
(byte-compile-get-constant tmp)
|
||||
(or (assq tmp byte-compile-variables)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue