Jump to content

_Singleton crash on x64 with flag 2

Recommended Posts

The bug was inside UDF. This was wrong:

; The size of SECURITY_DESCRIPTOR is 20 bytes.  We just
; need a block of memory the right size, we aren't going to
; access any members directly so it's not important what
; the members are, just that the total size is correct.
Local $tSecurityDescriptor = DllStructCreate("dword[5]")

It should be:

Local $tSecurityDescriptor = DllStructCreate("byte;byte;word;ptr[4]")

That's all.




Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...