Re: Error when used [?n] with undefined identifier

Jakub Krajewski <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAJM35111kZASjCKcoTQizgC+L=PR_7p0UmbZM+-305wdf_HO2A@mail.gmail.com>
On Tue, Dec 9, 2014 at 6:29 PM, Henrik Grubbström <[email protected]> wrote:

> On Tue, 9 Dec 2014, Jakub Krajewski wrote:
>
>  Hello,
>>
>> Found this accidentally (latest 8.0 upstream):
>>
>> Pike v8.0 release 35 running Hilfe v3.5 (Incremental Pike Frontend)
>>
>>> array a = ({ 1,2,3 });
>>> array b;
>>> a[?2];
>>>
>> (1) Result: 3
>>
>>> b[?2];
>>>
>> (2) Result: 0
>>
>>> c[?2];
>>>
>> Segmentation fault (core dumped)
>>
>> I assume that this was not expected, and it segfaults also without Hilfe.
>>
>
> Thanks, fixed in Pike 8.0 and 8.1.
>
>
That was fast, thanks! :)

Best regards,
Jakub Krajewski


> --
> Henrik Grubbström                                       [email protected]
> Roxen Internet Software AB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.