- Timestamp:
- Jan 21, 2022 11:07:13 AM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CFGM.cpp
r93115 r93392 2115 2115 break; 2116 2116 2117 case CFGMVALUETYPE_PASSWORD: 2118 RTMemWipeThoroughly(pLeaf->Value.String.psz, pLeaf->Value.String.cb, 10); 2119 RT_FALL_THROUGH(); 2117 2120 case CFGMVALUETYPE_STRING: 2118 case CFGMVALUETYPE_PASSWORD:2119 2121 cfgmR3StrFree(pVM, pLeaf->Value.String.psz); 2120 2122 pLeaf->Value.String.psz = NULL; … … 2414 2416 } 2415 2417 else 2418 { 2419 RTMemWipeThoroughly(pszStringCopy, cchString, 10); 2416 2420 cfgmR3StrFree(pNode->pVM, pszStringCopy); 2421 } 2417 2422 } 2418 2423 else -
trunk/src/VBox/VMM/include/CFGMInternal.h
r93115 r93392 44 44 } Integer; 45 45 46 /** String value. (UTF-8 of course) */46 /** String or password value. (UTF-8 of course) */ 47 47 struct CFGMVALUE_STRING 48 48 {
Note:
See TracChangeset
for help on using the changeset viewer.