VirtualBox

Changeset 78207 in vbox for trunk/src


Ignore:
Timestamp:
Apr 18, 2019 2:59:30 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/RTDirFlushParent: Missing +1 in yesterday's changes. bugref:9172

File:
1 edited

Legend:

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

    r78186 r78207  
    755755    size_t const cchChild    = strlen(pszChild);
    756756    if (cchChild < RTPATH_MAX)
    757         pszPath = (char *)alloca(cchChild);
     757        pszPath = (char *)alloca(cchChild + 1);
    758758    else
    759759    {
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