Hi!

Thursday, 03 May, 2001 Christopher Faylor [EMAIL PROTECTED] wrote:

>>On Thu, May 03, 2001 at 05:14:17PM +0400, egor duda wrote:
>>>Hi!
>>>
>>>Thursday, 03 May, 2001 Corinna Vinschen [EMAIL PROTECTED] wrote:
>>>
>>>CV> Couldn't you use an instance of fhandler_dev_random?
>>>
>>>ok, here it goes.
>>>
>>>2001-05-03  Egor Duda  <[EMAIL PROTECTED]>
>>>
>>>        * fhandler_socket.cc (set_connect_secret): Use /dev/random to
>>>        generate secret cookie.
>>
>>What happens to the buf that you allocate here?  It looks like a memory
>>leak.

CF> Just to be a little clearer:  It looks like a memory leak in execed proceses.
CF> ccalloced memory is copied to execed processes.

i see. i had a little different idea of what cygheap is used for.

so, i should use normal malloc instead? or it's better to simply make it static?

Egor.            mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19


Reply via email to