GNU bug report logs - #6378
all-completions Segfault

Previous Next

Package: emacs;

Reported by: Nathan Weizenbaum <nex342 <at> gmail.com>

Date: Tue, 8 Jun 2010 15:48:02 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#6378: all-completions Segfault
Date: Wed, 09 Jun 2010 12:05:15 +0200
Lennart Borgman <lennart.borgman <at> gmail.com> writes:

> On Wed, Jun 9, 2010 at 9:23 AM, Thierry Volpiatto
> <thierry.volpiatto <at> gmail.com> wrote:
>> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>>
>>> On Wed, Jun 9, 2010 at 7:13 AM, Thierry Volpiatto
>>> <thierry.volpiatto <at> gmail.com> wrote:
>>>> (completing-read "test: " [1 2 3 23 24 34 26 40 28])
>>>
>>> Does not that crash just because only symbols or strings can be keys
>>> in the collection?
>> I thought but it's worst, because:
>>
>> (completing-read "test: " ["1" "2" "23" "24" "25" "34" "45" "56"])
>>
>> Also crash emacs.
>
> Yes, it expects an obarray, not a plain vector.

Anyway if completing-read is not able to handle a vector 
it should return an error and not crashing emacs.

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/





This bug report was last modified 15 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.