Commit 12dc8e71 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Bugfix: memory overwrite bug.

parent 1410cdd0
......@@ -51,7 +51,7 @@ ELF_LoadLibraryEx32A(LPCSTR libname,PDB32 *process,HANDLE32 hf,DWORD flags) {
s=strrchr(libname,'\\');
if (s) {
strncpy(t,libname,s-libname+1);
t[libname-s+1]= '\0';
t[s-libname+1]= '\0';
} else
s = (LPSTR)libname;
modname = s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment