Author: pschweitzer
Date: Sun Feb 19 11:34:00 2017
New Revision: 73837
URL:
http://svn.reactos.org/svn/reactos?rev=73837&view=rev
Log:
[DNSAPI]
Properly check for domain name being set
CID 1401080
Modified:
trunk/reactos/dll/win32/dnsapi/dnsapi/query.c
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/query.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/qu…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/query.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/query.c [iso-8859-1] Sun Feb 19 11:34:00 2017
@@ -346,7 +346,7 @@
PIP_ADAPTER_ADDRESSES Addresses = NULL, pip;
BOOL Found = FALSE;
- if (network_info->DomainName)
+ if (network_info->DomainName[0])
{
size_t StringLength;
size_t TempSize = 2;