Changeset 39524 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
- Timestamp:
- Dec 5, 2011 12:34:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r39523 r39524 2105 2105 { 2106 2106 WARN(("invalid number of allocations passed in, (%d), expected (%d)", pRcInfo->cAllocInfos, pCreateAllocation->NumAllocations)); 2107 return STATUS_INVALID_PARAMETER; 2108 } 2109 2110 /* a check to ensure we do not get the allocation size which is too big to overflow the 32bit value */ 2111 if (VBOXWDDM_TRAILARRAY_MAXELEMENTSU32(VBOXWDDM_RESOURCE, aAllocations) < pRcInfo->cAllocInfos) 2112 { 2113 WARN(("number of allocations passed too big (%d), max is (%d)", pRcInfo->cAllocInfos, VBOXWDDM_TRAILARRAY_MAXELEMENTSU32(VBOXWDDM_RESOURCE, aAllocations))); 2107 2114 return STATUS_INVALID_PARAMETER; 2108 2115 }
Note:
See TracChangeset
for help on using the changeset viewer.