Increase size of insufficiently big stack allocated buffer used for

error messages in ELF_LoadLibraryExA.
This commit is contained in:
Warren Baird 2003-02-12 01:17:55 +00:00 committed by Alexandre Julliard
parent 41bbe7073f
commit 39f73a2203
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ WINE_MODREF *ELF_LoadLibraryExA( LPCSTR libname, DWORD flags)
HMODULE hmod; HMODULE hmod;
char *modname,*s,*t,*x; char *modname,*s,*t,*x;
LPVOID *dlhandle; LPVOID *dlhandle;
char error[256]; char error[1024];
t = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, t = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,
strlen(libname) + strlen("lib.so") + 1 ); strlen(libname) + strlen("lib.so") + 1 );