[Bug 2642] running Raritan's RemoteClient.exe fails
http://bugs.winehq.org/show_bug.cgi?id=2642 ------- Additional Comments From sxpert(a)esitcom.org 2005-07-01 11:05 ------- This patch makes it work (of course, it needs MS's XML parser...) RCS file: /home/wine/wine/dlls/rasapi32/rasapi.c,v retrieving revision 1.27 diff -u -r1.27 rasapi.c --- rasapi.c 3 Jan 2005 20:33:40 -0000 1.27 +++ rasapi.c 7 Jan 2005 17:04:54 -0000 @@ -247,9 +247,15 @@ DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA lpRasDevinfo, LPDWORD lpcb, LPDWORD lpcDevices) { FIXME("(%p,%p,%p),stub!\n",lpRasDevinfo,lpcb,lpcDevices); + if (lpcb==NULL) { + return ERROR_INVALID_PARAMETER; + } if (*lpcb < sizeof(RASDEVINFOA)) { *lpcb = sizeof(RASDEVINFOA); return ERROR_BUFFER_TOO_SMALL; + } + if (lpRasDevinfo==NULL) { + return ERROR_INVALID_PARAMETER; } /* honor dwSize ? */ strcpy(lpRasDevinfo->szDeviceType, RASDT_Modem); -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs