- Timestamp:
- Dec 1, 2010 10:32:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r34552 r34554 2400 2400 */ 2401 2401 char szOutput[RTPATH_MAX]; 2402 if (RTStrPrintf(szOutput, sizeof(szOutput), "--output=%s", Utf8Dest.c_str()) )2402 if (RTStrPrintf(szOutput, sizeof(szOutput), "--output=%s", Utf8Dest.c_str()) >= sizeof(szOutput) - 1) 2403 2403 { 2404 2404 /* … … 2578 2578 2579 2579 char szMode[16]; 2580 if (RTStrPrintf(szMode, sizeof(szMode), "%o", aMode)) 2581 args.push_back(Bstr(szMode).raw()); 2582 else 2583 rc = setError(VBOX_E_IPRT_ERROR, tr("Error preparing command line")); 2580 RTStrPrintf(szMode, sizeof(szMode), "%o", aMode); 2581 args.push_back(Bstr(szMode).raw()); 2584 2582 } 2585 2583 args.push_back(Bstr(Utf8Directory).raw()); /* The directory we want to create. */
Note:
See TracChangeset
for help on using the changeset viewer.