Changeset 48292 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Timestamp:
- Sep 5, 2013 7:27:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/dump.cpp
r46515 r48292 555 555 *pNewLine = '\0'; 556 556 *pcbStr = cbStr - (((uintptr_t)pNewLine) - ((uintptr_t)pszStr)) - 1; 557 Assert((*pcbStr) >= 0);557 Assert((*pcbStr) < UINT32_MAX/2); 558 558 Assert((*pcbStr) < cbStr); 559 559 *ppszStr = pNewLine + 1; … … 1421 1421 } 1422 1422 1423 #ifdef RT_OS_WINDOWS 1423 1424 static void crDmpPrint(const char* szString, ...) 1424 1425 { … … 1454 1455 OutputDebugStringA(pszStr); 1455 1456 } 1457 #endif 1456 1458 1457 1459 static void crDmpHtmlDumpStrExact(struct CR_HTML_DUMPER * pDumper, const char *pszStr)
Note:
See TracChangeset
for help on using the changeset viewer.