Changeset 52680 in vbox
- Timestamp:
- Sep 10, 2014 3:24:02 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 96006
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
r52632 r52680 154 154 static int g_hStartupLog = -1; 155 155 #endif 156 /** The number of bytes we've written to the startup log. */ 157 static uint32_t volatile g_cbStartupLog = 0; 156 158 157 159 /** The current SUPR3HardenedMain state / location. */ … … 994 996 { 995 997 #ifdef RT_OS_WINDOWS 996 if (g_hStartupLog) 998 if ( g_hStartupLog != NULL 999 && g_cbStartupLog < 128*_1M) 997 1000 { 998 1001 char szBuf[5120]; … … 1006 1009 if (!cch || szBuf[cch - 1] != '\n') 1007 1010 szBuf[cch++] = '\n'; 1011 1012 ASMAtomicAddU32(&g_cbStartupLog, (uint32_t)cch); 1008 1013 1009 1014 IO_STATUS_BLOCK Ios = RTNT_IO_STATUS_BLOCK_INITIALIZER;
Note:
See TracChangeset
for help on using the changeset viewer.