зеркало из https://github.com/mozilla/gecko-dev.git
adding additional comments to last patch, b=223145
This commit is contained in:
Родитель
bb123973dd
Коммит
2e48347cf6
|
@ -368,6 +368,9 @@ nsHostResolver::ResolveHost(const char *host,
|
||||||
rv = NS_ERROR_NOT_INITIALIZED;
|
rv = NS_ERROR_NOT_INITIALIZED;
|
||||||
else {
|
else {
|
||||||
PRNetAddr tempAddr;
|
PRNetAddr tempAddr;
|
||||||
|
|
||||||
|
// unfortunately, PR_StringToNetAddr does not properly initialize
|
||||||
|
// the output buffer in the case of IPv6 input. see bug 223145.
|
||||||
memset(&tempAddr, 0, sizeof(PRNetAddr));
|
memset(&tempAddr, 0, sizeof(PRNetAddr));
|
||||||
|
|
||||||
// check to see if there is already an entry for this |host|
|
// check to see if there is already an entry for this |host|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче