Mercurial > emacs
changeset 108940:1a7733e684f6
* minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378).
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 08 Jun 2010 18:53:11 +0200 |
parents | dbf3fd5a1594 |
children | ef11028b9610 |
files | src/ChangeLog src/minibuf.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Jun 07 17:20:44 2010 -0400 +++ b/src/ChangeLog Tue Jun 08 18:53:11 2010 +0200 @@ -1,3 +1,7 @@ +2010-06-08 Juanma Barranquero <lekktu@gmail.com> + + * minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378). + 2010-06-03 Andreas Schwab <schwab@linux-m68k.org> * process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4
--- a/src/minibuf.c Mon Jun 07 17:20:44 2010 -0400 +++ b/src/minibuf.c Tue Jun 08 18:53:11 2010 +0200 @@ -1590,7 +1590,7 @@ if (type == 2) { obsize = XVECTOR (collection)->size; - bucket = XVECTOR (collection)->contents[index]; + bucket = obsize ? XVECTOR (collection)->contents[index] : zero; } while (1)