David McFarland
6fbca24f33
Cygwin: cygheap: fix fork error after heap has grown
...
2f9b8ff0 introduced a problem where forks would sometimes fail with:
child_copy: cygheap read copy failed, 0x0..0x80044C750, done 0, windows pid 14032, Win32 error 299
When cygheap_max was > CYGHEAP_STORAGE_INITIAL, commit_size would be set to
allocsize(cygheap_max), which is an address, not a size. VirtualAlloc would be
called to commit commit_size bytes, which would fail, and then child_copy would
be called with zero as the base address.
Fixes: 2f9b8ff00cce ("Cygwin: decouple cygheap from Cygwin DLL")
Signed-off-by: David McFarland <corngood@gmail.com>
2023-04-18 10:12:43 +02:00
..
2022-08-29 17:53:48 +01:00
2023-04-14 11:23:51 +09:00
2023-03-14 11:32:20 +01:00
2022-08-04 20:54:09 +02:00
2022-10-24 14:09:07 +02:00
2023-02-09 21:59:47 +01:00
2022-08-04 12:55:52 +02:00
2023-04-18 10:12:43 +02:00
2023-04-14 11:23:51 +09:00
2022-11-24 12:20:50 +01:00
2023-02-09 21:59:47 +01:00
2021-11-10 20:16:15 -05:00
2022-12-16 10:22:37 +00:00
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2022-08-04 20:54:09 +02:00
2022-08-04 22:13:59 +02:00
2022-10-28 16:26:53 +02:00
2022-05-16 18:17:06 +02:00
2022-08-03 15:59:37 +02:00
2022-08-04 22:13:59 +02:00
2022-08-23 12:09:44 +02:00
2023-01-09 13:43:26 +01:00
2022-10-28 16:26:53 +02:00
2023-01-10 21:34:46 +09:00
2022-08-22 14:38:49 +02:00
2023-01-22 09:59:50 +01:00
2023-01-22 09:59:50 +01:00
2021-11-15 19:32:23 -05:00
2022-05-29 17:54:32 -04:00
2022-06-06 12:00:45 -04:00
2023-03-07 10:19:53 +09:00
2022-08-03 15:35:34 +02:00
2022-08-04 15:16:48 +02:00
2022-11-04 13:25:54 +00:00
2022-07-28 22:00:40 +02:00
2022-12-02 16:35:31 +01:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-08-29 12:25:24 +02:00
2022-05-04 15:08:44 +02:00
2022-05-29 17:45:52 -04:00
2022-10-28 12:44:27 +02:00
2022-05-29 17:45:52 -04:00
2022-07-28 16:38:01 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2022-08-04 22:13:59 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:54:32 -04:00
2022-12-13 15:25:06 +01:00
2022-08-10 18:06:28 +02:00
2022-05-29 17:45:52 -04:00
2023-01-23 14:03:25 +01:00
2022-08-04 11:45:58 +02:00
2022-08-23 12:09:44 +02:00
2022-06-06 12:00:45 -04:00
2022-05-29 17:45:52 -04:00
2023-03-29 10:23:13 +02:00
2023-01-17 19:47:33 +01:00
2022-06-27 10:54:24 +09:00
2022-08-10 18:11:57 +02:00
2022-08-22 14:53:30 +02:00
2022-08-04 22:13:59 +02:00
2022-08-03 16:01:29 +02:00
2022-06-06 12:00:45 -04:00
2021-10-29 18:19:45 +02:00
2022-10-19 08:17:50 -04:00
2022-08-22 14:28:11 +02:00
2022-05-29 17:45:52 -04:00
2023-01-10 11:49:08 +01:00
2022-08-22 17:58:53 +02:00
2022-11-20 10:37:37 +09:00
2022-06-06 12:00:45 -04:00
2022-08-04 22:13:59 +02:00
2023-03-15 22:09:28 +01:00
2022-10-28 12:44:27 +02:00
2022-05-29 17:54:32 -04:00
2022-08-03 15:35:29 +02:00
2022-08-10 18:11:57 +02:00
2022-08-04 22:13:59 +02:00
2022-06-06 12:00:45 -04:00
2022-08-23 12:09:44 +02:00
2022-06-06 12:00:45 -04:00
2022-12-02 16:49:47 +01:00
2022-12-11 11:25:04 +01:00
2022-10-28 16:26:53 +02:00
2022-08-04 22:13:59 +02:00