VirtualBox

Changeset 46179 in vbox for trunk/src


Ignore:
Timestamp:
May 20, 2013 9:38:38 PM (12 years ago)
Author:
vboxsync
Message:

RTPathParse.cpp.h: Fixed uninitialized cchPath.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathParse.cpp.h

    r45397 r46179  
    7474                fProps = RTPATH_PROP_ROOT_SLASH | RTPATH_PROP_UNC | RTPATH_PROP_ABSOLUTE;
    7575                offCur++;
     76                cchPath = offCur;
    7677            }
    7778            else
     
    7980                fProps = RTPATH_PROP_ROOT_SLASH | RTPATH_PROP_RELATIVE;
    8081                offCur = 1;
     82                cchPath = 1;
    8183            }
    8284        }
     
    9092#endif
    9193            offCur = 1;
     94            cchPath = 1;
    9295        }
    9396    }
     
    105108            offCur = 3;
    106109        }
     110        cchPath = offCur;
    107111    }
    108112#endif
     
    114118    }
    115119
    116     /*  Add it to the component array . */
     120    /* Add it to the component array . */
    117121    if (offCur && !(fFlags & RTPATH_STR_F_NO_START))
    118122    {
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