VirtualBox

Changeset 35693 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jan 24, 2011 5:27:05 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69619
Message:

Main/NetIf: Third attempt to fix VBoxSVC crash when listing host interfaces with no default route (#5491)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/darwin/NetIf-darwin.cpp

    r35691 r35693  
    250250            /* Extract addresses from the message. */
    251251            extractAddresses(pRtMsg->rtm_addrs, (char *)(pRtMsg + 1),
    252                              pRtMsg->rtm_msglen + (char *)pRtMsg, addresses);
     252                             pRtMsg->rtm_msglen + 1 + (char *)pRtMsg, addresses);
    253253            if ((pRtMsg->rtm_addrs & RTA_DST)
    254254                && (pRtMsg->rtm_addrs & RTA_NETMASK))
Note: See TracChangeset for help on using the changeset viewer.

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