diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-20 22:46:59 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-20 22:46:59 -0800 |
commit | 75360f19c3994ab7a532124b7f5eb92bfe7c82ed (patch) | |
tree | ed6a415b319a37144d63bdfe967daff766f4e044 /lisp/emacs-lisp/helpers.el | |
parent | d1a6bccc995f7e1e9d22a386e1aac0d7c888ff18 (diff) | |
download | emacs-75360f19c3994ab7a532124b7f5eb92bfe7c82ed.tar.gz emacs-75360f19c3994ab7a532124b7f5eb92bfe7c82ed.tar.bz2 emacs-75360f19c3994ab7a532124b7f5eb92bfe7c82ed.zip |
Fix recently introduced bool vector overrun.
This was due to an optimization that went awry.
Reported by Glenn Morris in
<http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00622.html>.
* alloc.c (make_uninit_bool_vector): Don't allocate a dummy word
for empty vectors, undoing the 2013-11-18 change.
* data.c (bool_vector_binop_driver): Rely on this.
Fix bug that occasionally overran the destination.
* lisp.h (struct Lisp_Bool_vector): Document this.
Diffstat (limited to 'lisp/emacs-lisp/helpers.el')
0 files changed, 0 insertions, 0 deletions