VirtualBox

Changeset 34854 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 9, 2010 9:07:52 AM (14 years ago)
Author:
vboxsync
Message:

Main: fixed limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r34772 r34854  
    59995999    /* get the path to the executable */
    60006000    char szPath[RTPATH_MAX];
    6001     RTPathAppPrivateArch(szPath, RTPATH_MAX);
     6001    RTPathAppPrivateArch(szPath, sizeof(szPath) - 1);
    60026002    size_t sz = strlen(szPath);
    60036003    szPath[sz++] = RTPATH_DELIMITER;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette