1
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:
Matt Miller 2007-04-21 20:21:52 +00:00
parent b82a1a0422
commit 8e0e4580de
2 changed files with 1 additions and 1 deletions

View File

@ -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;