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]
Other format: [Raw text]

[Patch]: heap_chunk_size


Here is a no brainer patch that eliminates the use of 
"heap_chunk" in the cygwin shared. That removes a source 
of DOS attack and it's another step towards the demise
of the cygwin shared.
Actually deleting the "heap_chunk" member from the structure
will be done shortly.

Pierre

2004-02-02  Pierre Humblet <pierre.humblet@ieee.org>

	* shared.cc (shared_info::heap_chunk_size): Delete.
	* heap.cc (heap_chunk_size): Create.
	(heap_init): Call heap_chunk_size instead of
	cygwin_shared->heap_chunk_size.

Attachment: chunk.diff
Description: Text document


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