Changeset 13556 in vbox for trunk/src/VBox/Main/ConsoleImpl.cpp
- Timestamp:
- Oct 24, 2008 2:17:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r13551 r13556 3513 3513 Utf8Str Utf8Name = aName; 3514 3514 AssertReturn(!Utf8Name.isNull(), E_OUTOFMEMORY); 3515 char pszBuffer[MAX_VALUE_LEN + MAX_FLAGS_LEN + 2];3515 char pszBuffer[MAX_VALUE_LEN + MAX_FLAGS_LEN]; 3516 3516 3517 3517 parm[0].type = VBOX_HGCM_SVC_PARM_PTR; … … 4594 4594 pValue = CFGMR3GetNextValue (pValue)) 4595 4595 { 4596 char szPropName[guestProp::MAX_NAME_LEN + 1];4596 char szPropName[guestProp::MAX_NAME_LEN]; 4597 4597 vrc = CFGMR3GetValueName (pValue, szPropName, sizeof(szPropName)); 4598 4598 if (RT_SUCCESS(vrc)) … … 4620 4620 using namespace guestProp; 4621 4621 4622 char szPropName [MAX_NAME_LEN + 1];4623 char szPropValue [MAX_VALUE_LEN + 1];4624 char szPropFlags [MAX_FLAGS_LEN + 1];4622 char szPropName [MAX_NAME_LEN]; 4623 char szPropValue [MAX_VALUE_LEN]; 4624 char szPropFlags [MAX_FLAGS_LEN]; 4625 4625 ULONG64 u64Timestamp = 0; /* default */ 4626 4626 vrc = CFGMR3GetValueName (pValue, szPropName, sizeof (szPropName));
Note:
See TracChangeset
for help on using the changeset viewer.