Re: ppplib.c - bugs and a crash (update)
Re: ppplib.c - bugs and a crash (update)
- Subject: Re: ppplib.c - bugs and a crash (update)
- From: Jens Bauer <email@hidden>
- Date: Wed, 3 Apr 2002 12:23:11 +0200
Hi all,
On Wed, 3 Apr, 2002, Jens Bauer <email@hidden> wrote:
>
(radar #2892381)
>
>
1: a minor memory leak
>
2: a crash
>
>
if(read(ref, data, msg.m_len) != msg.m_len) // read data (read to
>
correct location)
>
{
>
free(data); // (reduce memory leak)
>
return errno;
>
}
There are more of these. 1 where the buffer is named 'data', and 2 where
the buffer is named 'p'.
-So if you're using ppplib, I recommend you to correct them.
You can search for the string "read data" in the file, to correct all the
occurrences.
I've updated the bug-report when I found these as well.
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.