This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: src/winsup/cygwin ChangeLog autoload.cc autolo ...


On Thu, May 03, 2001 at 11:03:33AM -0400, Christopher Faylor wrote:
>On Thu, May 03, 2001 at 05:14:17PM +0400, egor duda wrote:
>>Hi!
>>
>>Thursday, 03 May, 2001 Corinna Vinschen cygwin-patches@cygwin.com wrote:
>>
>>CV> Couldn't you use an instance of fhandler_dev_random?
>>
>>ok, here it goes.
>>
>>2001-05-03  Egor Duda  <deo@logos-m.ru>
>>
>>        * 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.

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

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]