VirtualBox

Ignore:
Timestamp:
Mar 15, 2013 7:52:49 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84296
Message:

rtPathRmRecursive: off-by-one

File:
1 edited

Legend:

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

    r44286 r45046  
    313313
    314314        /* Construct full path. */
    315         if (cchPath + pDirEntry->cbName > RTPATH_MAX)
     315        if (cchPath + pDirEntry->cbName >= RTPATH_MAX)
    316316        {
    317317            pszPath[cchPath] = '\0';
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