Jump to content

Fix For Gf83 Crash With Requestexenchantskillinfo


Recommended Posts

DoS exploit: http://www.maxcheaters.com/topic/203384-crashing-l2off-server-with-requestexenchantskillinfo-packet/

Fix:

 

hook function 0x44BD0C (at 0x91A6C8 and maybe other places):

 

void* __cdecl fix44BD0C(void *self, UINT32 &type)
{
    typedef void* (__cdecl *t)(void*, UINT32&);
    t f = reinterpret_cast<t>(0x44BD0C);
    if (type > 3) {
        type = 0;
    }
    return f(self, type);
}

EDIT: Relevant addresses:
 
0x75374C+0xC3
0x7538C4+0xB5
0x7539CC+0xCB
0x91A5EC+0xDC
0x91A734+0xDC
0x91A87C+0xB8
0x91A984+0xB8
0x91AA8C+0xB8
0x91AB94+0xB8
 
Edited by eressea
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...