VirtualBox

Ignore:
Timestamp:
Mar 4, 2014 1:36:57 AM (11 years ago)
Author:
vboxsync
Message:

NAT/dnsproxy.c:timeout if DNS server list is empty just drop the request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.c

    r50050 r50673  
    121121    AssertPtrReturnVoid(arg);
    122122
    123     de = TAILQ_PREV(req->dns_server, dns_list_head, de_list);
    124 
    125     if (de == NULL)
     123    if (   req->dns_server == NULL
     124        || (de = TAILQ_PREV(req->dns_server, dns_list_head, de_list)) == NULL)
    126125    {
    127126        hash_remove_request(pData, req);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette