diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-02-25 11:39:42 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-02-25 11:39:42 -0800 |
commit | 27f3c6378b0e09d6e3c1b4b55b7e2fc5c22c8e65 (patch) | |
tree | 2e47f4531248214cbb4bd6ceb3bb152741e96aff /lisp/emacs-lisp/autoload.el | |
parent | 23453255524411eaae5c79d7e4ae6c22f6f05f3f (diff) | |
download | emacs-27f3c6378b0e09d6e3c1b4b55b7e2fc5c22c8e65.tar.gz emacs-27f3c6378b0e09d6e3c1b4b55b7e2fc5c22c8e65.tar.bz2 emacs-27f3c6378b0e09d6e3c1b4b55b7e2fc5c22c8e65.zip |
Generalize fix for crash due to non-contiguous EMACS_INT (Bug#10780).
Suggested by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00692.html>.
* alloc.c (widen_to_Lisp_Object): New static function.
(mark_memory): Also mark Lisp_Objects by fetching pointer words
and widening them to Lisp_Objects. This would work even if
USE_LSB_TAG is defined and wide integers are used, which might
happen in a future version of Emacs.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions