Changeset 40263 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Feb 27, 2012 2:51:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibCredentials.cpp
r40211 r40263 199 199 /* wipe first */ 200 200 if (pwszUser) 201 RTMemWipeThoroughly(pwszUser, RTUtf16Len(pwszUser) + 1, cPasses);201 RTMemWipeThoroughly(pwszUser, RTUtf16Len(pwszUser) + sizeof(RTUTF16), cPasses); 202 202 if (pwszPassword) 203 RTMemWipeThoroughly(pwszPassword, RTUtf16Len(pwszPassword) + 1, cPasses);203 RTMemWipeThoroughly(pwszPassword, RTUtf16Len(pwszPassword) + sizeof(RTUTF16), cPasses); 204 204 if (pwszDomain) 205 RTMemWipeThoroughly(pwszDomain, RTUtf16Len(pwszDomain) + 1, cPasses);205 RTMemWipeThoroughly(pwszDomain, RTUtf16Len(pwszDomain) + sizeof(RTUTF16), cPasses); 206 206 207 207 /* then free. */
Note:
See TracChangeset
for help on using the changeset viewer.