• Welcome to Valhalla Legends Archive.
 

0x51 Help

Started by Spilled, February 23, 2005, 09:58 AM

Previous topic - Next topic

Hdx

NP, Work on the other packets, If you need any help ask, I wont be able to help tonight i'm going to bed.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

tA-Kane

Quote from: HdxBmx27 on February 24, 2005, 01:10 AMI've noticed that BnetAuth has NO handeling of empty parameters, causing major crashing.
When you pass empty VB strings to a DLL, Visual Basic passes them... well, empty... So when the DLL tried to use that empty string, it probably got a memory protection fault. Don't blame the DLL, you're the one that passed a variable pointing to insufficient buffer space!
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Hdx

Quote from: tA-Kane on February 24, 2005, 02:04 AM
When you pass empty VB strings to a DLL, Visual Basic passes them... well, empty... So when the DLL tried to use that empty string, it probably got a memory protection fault. Don't blame the DLL, you're the one that passed a variable pointing to insufficient buffer space!
True this is. I was mearly stating this because it was relevent, he was getting an error, An error that i myself have gotten sevrail time due to my hasty coding. I wanted to pass on the info that if you pass a empty parameter to a function it tends to cause the eintire program to crash with no spacific reason.  And hopefully he won't pass any more empty strings. Anywho I was just stating that, I didn't mean to 'blame' the DLL.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

|