VirtualBox

Changeset 63876 in vbox


Ignore:
Timestamp:
Sep 19, 2016 10:41:38 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110740
Message:

NAT: Don't exceed RCPS_MAX_SEARCHLIST. Patch from ticketref:15948.

File:
1 edited

Legend:

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

    r63217 r63876  
    371371            {
    372372                i = state->rcps_num_searchlist;
     373                if (RT_UNLIKELY(i >= RCPS_MAX_SEARCHLIST))
     374                {
     375                    LogRel(("NAT: resolv.conf: too many search domains, ignoring %s\n", tok));
     376                    continue;
     377                }
    373378
    374379                Log2(("NAT: resolv.conf: saving search @%td,+%zu\n",
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