VirtualBox

Changeset 29525 in vbox for trunk


Ignore:
Timestamp:
May 17, 2010 10:43:06 AM (15 years ago)
Author:
vboxsync
Message:

Net[Flt|Adp]win: fix mem allocation failure handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/VBoxNetFlt-win.c

    r29491 r29525  
    17181718        {
    17191719            fStatus = vboxNetFltWinMemAlloc(&pvMemBuf, pSG->cbTotal);
     1720            Assert(fStatus == NDIS_STATUS_SUCCESS);
    17201721            if(fStatus == NDIS_STATUS_SUCCESS)
    1721             {
    17221722                IntNetSgRead(pSG, pvMemBuf);
    1723             }
    1724             else
    1725             {
    1726                 AssertFailed();
    1727                 NdisFreePacket(pPacket);
    1728                 pPacket = NULL;
    1729             }
    17301723        }
    17311724        else
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