Jump to content

Photo

DLL ejection even with mustBeDisposed flag to false

Bug confirmed

  • Please log in to reply
No replies to this topic

#1 ZenLulz Posted 28 October 2013 - 04:54 PM

ZenLulz

    Lead Developer

  • Administrators
  • 67 posts
  • LocationSwitzerland

Hi there,

 

SKU, a member from another board reported to me an issue when a DLL is injected with the flag mustBeDisposed set to false.

In this case, the DLL must stay alive within the remote process, even if the instance of MemorySharp that injected the library is disposed, but it appears this is not the case.

 

The issue occurs here, where the parameter is never used.

 

public InjectedModule Inject(string path, bool mustBeDisposed = true)
{
// Injects the module
var module = InjectedModule.InternalInject(MemorySharp, path);
// Add the module in the list
InternalInjectedModules.Add(module);
// Return the module
return module;
}

 

I will fix this issue as soon as possible.

 

Cheers,

ZenLulz


ZenLulz

  • Back to top
  • Report





Also tagged with one or more of these keywords: Bug confirmed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users