Increase size of error buffer in ELF_LoadLibrary

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

 





ChangeLog:

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

Warren Baird : Warren_Baird@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 );




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

  Powered by Linux