# HG changeset patch # User Juanma Barranquero # Date 1276015991 -7200 # Node ID 1a7733e684f647c71881126dc7dc012cd13b1faf # Parent dbf3fd5a15941b2c7ec41dc81bc5a98c93ee6650 * minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378). diff -r dbf3fd5a1594 -r 1a7733e684f6 src/ChangeLog --- 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 + + * minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378). + 2010-06-03 Andreas Schwab * process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4 diff -r dbf3fd5a1594 -r 1a7733e684f6 src/minibuf.c --- 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)