Changeset 75169 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp
- Timestamp:
- Oct 30, 2018 6:29:31 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 126247
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.cpp
r75122 r75169 526 526 } 527 527 528 if (cbSrc > cbPacket) 529 cbSrc = cbPacket; 530 528 /* Handle the offset in the current (which is the first for us) MDL */ 531 529 if (uOffset) 532 530 { … … 539 537 else 540 538 { 541 uOffset -= cbSrc; 542 continue; 539 /* This is an invalid MDL chain */ 540 vboxNetAdpWinDestroySG(pSG); 541 return NULL; 543 542 } 544 543 } 544 545 /* Do not read the last MDL beyond packet's end */ 546 if (cbSrc > cbPacket) 547 cbSrc = cbPacket; 545 548 546 549 Assert(cSegs < pSG->cSegsAlloc);
Note:
See TracChangeset
for help on using the changeset viewer.