Re: Error when used [?n] with undefined identifier
Henrik Grubbström <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Organization | Roxen Internet Software AB |
| Message-ID | <[email protected]> |
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.
--
Henrik Grubbström [email protected]
Roxen Internet Software AB