VirtualBox

Changeset 19929 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
May 23, 2009 12:15:49 AM (16 years ago)
Author:
vboxsync
Message:

RTPathAppend: bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/path.cpp

    r19928 r19929  
    759759        {
    760760#if defined (RT_OS_OS2) || defined (RT_OS_WINDOWS)
    761             if (    pszPath[1] == ':'
     761            if (    (size_t)(pszPathEnd - pszPath) == 2
     762                &&  pszPath[1] == ':'
    762763                &&  RT_C_IS_ALPHA(pszPath[0]))
    763764            {
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