help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] more bugs


From: Bonzini
Subject: Re: [Help-smalltalk] more bugs
Date: Fri, 10 May 2002 18:34:50 +0200

>    Smalltalk at: #a put: (WriteStream on: Array new) !
>    a growCollection !

I have not yet looked at it on my current snapshots.  Most likely it is
already fixed, anyway I'll check it out.  The fix looks a bit clumsy.

> 2)    Try this:
>    Namespace current: 'TCP' !
>    (IPAddress allByName: 'www.av.com') printNl !
>    We have huge count of incorrect adresses.
> *** gst/tcp/tcp.c:1.1.1.1       Thu May  9 20:35:38
> 2002
> --- gst/tcp/tcp.c       Thu May  9 21:27:59 2002
> ***************
> *** 123,128 ****
> --- 123,129 ----
>       }
>     result = malloc (i - data);
> +   memset(result,0,i - data + 4);

This has a huge buffer overflow in it :-)  You must adjust the malloc size
as well!.

Anyway, thanks for the bug reports and for the PackageLoader one as well




reply via email to

[Prev in Thread] Current Thread [Next in Thread]