flat assembler
Message board for the users of flat assembler.
Index
> Windows > windows DNS bug ,absolutely |
Author |
|
caoyunbin001 18 Feb 2012, 11:09
see code,
line 82:after the execution, dontCare should point to IPv4 data structure according to MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682016(v=vs.85).aspx but actually, it points to a DNS_RECORD ! see code , it extracts IPv4 address from that DNS_RECORD, but according to msdn, see attachment, we should use mov eax,[dontCare] mov eax,[eax] to get the IPv4 address which is incorrect! put here to let others know about this bug, avoid future confusing. and if you have another better idea of resolve an URL to an IP address, please tell me, I'm writing a HTTP lib, and I found winHTTP is fucking useless, so I'm writing it using Socket, which the first problem is to resolve an URL to an IP address.
|
||||||||||
18 Feb 2012, 11:09 |
|
AsmGuru62 18 Feb 2012, 12:39
MSDN has bugs too.
|
|||
18 Feb 2012, 12:39 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.