Changeset 85149 in vbox for trunk/include/VBox
- Timestamp:
- Jul 9, 2020 10:45:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmnetinline.h
r85148 r85149 543 543 if (iSeg == 0) 544 544 { 545 if (pGso->offHdr2 + sizeof(uint16_t) > cbFrame) 546 return 0; /* Incomplete UDP header! */ 545 Assert(pGso->offHdr2 + sizeof(uint16_t) <= cbFrame); 547 546 /* uh_ulen cannot exceed cbFrame - pGso->offHdr2 (offset of UDP header) */ 548 547 if ((unsigned)(pGso->offHdr2 + RT_BE2H_U16(((PCRTNETUDP)&pbFrame[pGso->offHdr2])->uh_ulen)) > cbFrame)
Note:
See TracChangeset
for help on using the changeset viewer.