[Bug 24886] TurboFTP: Fails to install

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 25 12:07:39 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24886

Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
     Ever Confirmed|0                           |1

--- Comment #1 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2010-10-25 12:07:38 CDT ---
confirming. There's a (last) call before load of seh stuff showing up that
looks bit strange to me:
0009:Call KERNEL32.VirtualAlloc(10000000,000f4000,00001000,00000004)
ret=10042b0e
0009:Ret  KERNEL32.VirtualAlloc() retval=10000000 ret=10042b0e

The hack below makes the installer start for me. I don't know much about memory
allocation functions , maybe someone else could have a look

diff --git a/dlls/kernel32/virtual.c b/dlls/kernel32/virtual.c
index dcd5b85..d19848c 100644
--- a/dlls/kernel32/virtual.c
+++ b/dlls/kernel32/virtual.c
@@ -65,7 +65,7 @@ static unsigned int page_size;
  *     Failure: NULL.
  */
 LPVOID WINAPI VirtualAlloc( LPVOID addr, SIZE_T size, DWORD type, DWORD
protect )
-{
+{ if (addr>=0x10000000) return  0;
     return VirtualAllocEx( GetCurrentProcess(), addr, size, type, protect );
 }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list