projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96bca89
)
fix invalid write into emit_limple_insn
author
Andrea Corallo
<akrl@sdf.org>
Sun, 27 Oct 2019 15:11:56 +0000
(16:11 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Wed, 1 Jan 2020 10:37:59 +0000
(11:37 +0100)
src/comp.c
patch
|
blob
|
history
diff --git
a/src/comp.c
b/src/comp.c
index a7a5ce0dcbe26595d5ec4ba99ba45b30f7bcadc5..3b124bef23a5b6540adee467e7eb99fe89c9f838 100644
(file)
--- a/
src/comp.c
+++ b/
src/comp.c
@@
-1182,7
+1182,8
@@
emit_limple_insn (Lisp_Object insn)
unsigned i = 0;
FOR_EACH_TAIL (p)
{
- eassert (i < sizeof (arg));
+ if (i == sizeof (arg) / sizeof (Lisp_Object))
+ break;
arg[i++] = XCAR (p);
}