Changeset 52104 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jul 20, 2014 7:52:23 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95120
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r52082 r52104 4649 4649 if (cbKey != -1) 4650 4650 { 4651 uint8_t *pbKey = (uint8_t *)RTMemSaferAllocZ(cbKey); 4652 if (pbKey) 4651 uint8_t *pbKey = NULL; 4652 rc = RTMemSaferAllocZEx(&pbKey, cbKey, RTMEMSAFER_F_REQUIRE_NOT_PAGABLE); 4653 if (RT_SUCCESS(rc)) 4653 4654 { 4654 4655 rc = RTBase64Decode(pszKeyEnc, pbKey, cbKey, NULL, NULL); … … 4667 4668 else 4668 4669 hrc = setError(E_FAIL, 4669 tr("Failed to allocate secure memory for the key "));4670 tr("Failed to allocate secure memory for the key (%Rrc)"), rc); 4670 4671 } 4671 4672 else
Note:
See TracChangeset
for help on using the changeset viewer.