src/winsup/cygwin ChangeLog autolo ...

egor duda
Thu May 3 08:36:00 GMT 2001


Thursday, 03 May, 2001 Christopher Faylor wrote:

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

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.   ICQ 5165414 FidoNet 2:5020/496.19

More information about the Cygwin-patches mailing list