mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-20 14:39:22 +01:00
correct memset in libloader
git-svn-id: file:///home/svn/framework3/trunk@4725 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
b82a1a0422
commit
8e0e4580de
Binary file not shown.
@ -552,7 +552,7 @@ HMODULE libloader_load_library(LPCSTR name, PUCHAR buffer, DWORD bufferLength)
|
|||||||
if ((slash = strrchr(name, '\\')))
|
if ((slash = strrchr(name, '\\')))
|
||||||
shortName = slash+1;
|
shortName = slash+1;
|
||||||
|
|
||||||
memset(lctx, 0, sizeof(lctx));
|
memset(lctx, 0, sizeof(SHELLCODE_CTX));
|
||||||
|
|
||||||
ctx = lctx;
|
ctx = lctx;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user