Increase size of error buffer in ELF_LoadLibrary

Warren_Baird at cimmetry.com Warren_Baird at cimmetry.com
Thu Feb 6 08:53:31 CST 2003



ChangeLog:

     Increase size of insufficiently big stack allocated buffer used for
     error messages in ELF_LoadLibraryExA.

Warren Baird : Warren_Baird at cimmetry.com

diff -ur clean/wine/loader/elf.c wine/loader/elf.c
--- clean/wine/loader/elf.c   Wed Jan 29 15:31:10 2003
+++ wine/loader/elf.c    Thu Jan 30 15:38:14 2003
@@ -118,7 +118,7 @@
         HMODULE         hmod;
     char      *modname,*s,*t,*x;
     LPVOID         *dlhandle;
-    char      error[256];
+    char      error[1024];

     t = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,
                        strlen(libname) + strlen("lib.so") + 1 );





More information about the wine-patches mailing list