VirtualBox

Changeset 28145 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 9, 2010 1:54:29 PM (15 years ago)
Author:
vboxsync
Message:

Runtime/Sg: Fix RTSgBufCopy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/sg.cpp

    r28117 r28145  
    121121        void *pvBufSrc;
    122122
    123         if (!cbCopy)
     123        if (!cbThisCopy)
    124124            break;
    125125
    126126        pvBufDst = sgBufGet(pSgBufDst, &cbTmp);
    127127        Assert(cbTmp == cbThisCopy);
    128         pvBufSrc = sgBufGet(pSgBufDst, &cbTmp);
     128        pvBufSrc = sgBufGet(pSgBufSrc, &cbTmp);
    129129        Assert(cbTmp == cbThisCopy);
    130130
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