diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-02-18 21:45:50 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-02-18 21:55:01 +0100 |
commit | 185121da6978553d538d37d6d0e67dc52e13311f (patch) | |
tree | ee03984ee706a5f065ea0509d0ca6039efd1fdb5 /lisp/emacs-lisp/ert-x.el | |
parent | f92bb788a073c6b3ca7f188e0edea714598193fd (diff) | |
download | emacs-185121da6978553d538d37d6d0e67dc52e13311f.tar.gz emacs-185121da6978553d538d37d6d0e67dc52e13311f.tar.bz2 emacs-185121da6978553d538d37d6d0e67dc52e13311f.zip |
* Add assertion guarding against emitting a relocation array overflow
* src/comp.c (reloc_array_t): New type.
(comp_t, imm_reloc_t): Make use of 'reloc_array_t'.
(obj_to_reloc): Add an assertion not to overflow relocation
arrays.
(emit_lisp_obj_reloc_lval, emit_limple_insn)
(declare_imported_data_relocs): Make use of 'reloc_array_t'.
Diffstat (limited to 'lisp/emacs-lisp/ert-x.el')
0 files changed, 0 insertions, 0 deletions