Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2014, 10:53 AM
daerath
Sarnak
 
Join Date: Jan 2011
Location: Northern VA
Posts: 91
Default Memory Corruption in EQEmuAuthCrypto

Description: Output from EQEmuAuthCrypto's Encrypt method varies if a debugger is attached.

Test: Attach debugger to LoginServer.exe and step through processing of the client's OP_Login packet. After a successful database lookup, the login_replyblock_struct is passed into the Encrypt method. If a debugger is not attached, the output is correct. If a debugger is attached, the first 72 bytes are correct, but the final 8 byte block is not.

Not a crash bug.
Reply With Quote
  #2  
Old 07-31-2014, 09:20 AM
daerath
Sarnak
 
Join Date: Jan 2011
Location: Northern VA
Posts: 91
Default

Follow up on this one. I did confirm that this is a real bug by writing a fully managed code version. I took the output from EQEmuAuthCrypto's Encrypt method (with a debugger attached) and tried to decrypt it using the same algorithm, key, iv, and padding mode used by the EQEmuAuthCrypto DLL and it failed every time.

The output produced by EQEmuAuthCrypto (without a debugger attached) decrypts perfectly every time.

Still not a crash bug, so it'll probably never get fixed, but I wanted to follow up on this anyway.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:33 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3