fork error when trying to call VirtualAlloc with size==0

Jeremy Drake cygwin@jdrake.com
Thu May 22 06:18:06 GMT 2025


On Wed, 21 May 2025, Jeremy Drake via Cygwin wrote:

> the child to not be very fruitful, but maybe there's some debugging to be
> done there

Well, found the bug that results in a 0 size.  size is a DWORD, but
mb.RegionSize is 0x200000000.  mb.RegionSize is SIZE_T, but I figure
size_t is appropriate.


More information about the Cygwin mailing list