ntdll: Increase the signal stack size to avoid crashes on nested signals.
This commit is contained in:
parent
93938ebe5e
commit
0156dbba4f
|
@ -1334,7 +1334,7 @@ size_t get_signal_stack_total_size(void)
|
|||
|
||||
if (!signal_stack_size)
|
||||
{
|
||||
size_t size = 4096, min_size = teb_size + max( MINSIGSTKSZ, 4096 );
|
||||
size_t size = 8192, min_size = teb_size + max( MINSIGSTKSZ, 8192 );
|
||||
/* find the first power of two not smaller than min_size */
|
||||
while (size < min_size) size *= 2;
|
||||
signal_stack_mask = size - 1;
|
||||
|
|
Loading…
Reference in New Issue