[Gambas-devel] About gb.gsl components

Emil Lenngren emil.lenngren at ...176...
Sun Jul 8 18:34:21 CEST 2012


More segfaults:

Dim C As Complex = Null
Print 1 * C

And

Dim A As New Complex(1, 4)
Dim C As Complex = A
Dim I As Integer

For I = 1 To 2
  Print Abs(C) ' or for example Print C * C
  C = Null
Next

/Emil

2012/7/8 Benoît Minisini <gambas at ...1...>

> Le 08/07/2012 18:01, Emil Lenngren a écrit :
> > Hi. Some null checks seems to be required. For example:
> >
> > Dim A As Complex = NULL
> > Print Abs(A)
> >
> > -> Segmentation fault
> >
>
> OK, should be fixed in revision #4912.
>
> --
> Benoît Minisini
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120708/7a644712/attachment.html>


More information about the Devel mailing list