Re: Hos to set stack size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The.coder wrote:
> Well i'm playing warcfraft3 online and some hackers use stack_overflow to disconnect other players.Since i dont have the source code of warcraft III, my only way is to increase the stack size allowed by wine.
> Basically wine/warcraft3 crash with a stack_overflow exception.


that's a little alarming, but if you really want what you ask for:

This program should set the stack size:

http://jeffz.name/code/pe2.exe
http://jeffz.name/code/pe2.c

usage: pe2 filename SizeOfStackReserve

so, to set wc3.exe to 8MB reserve stacksize, use 8290304

If you mean the commit size rather than reserve, then change 'Reserve' to 'Commit' and recompile and re-apply.

be sure to backup your wc3.exe before running this.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux