VirtualBox

Changeset 67560 in vbox


Ignore:
Timestamp:
Jun 22, 2017 1:49:03 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116311
Message:

RTLs.cpp: Fixed missing terminator when copying names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTLs.cpp

    r66850 r67560  
    10531053        pEntry->cchName   = cchEntry;
    10541054        memcpy(pEntry->szName, pszEntry, cchEntry);
     1055        pEntry->szName[cchEntry] = '\0';
    10551056
    10561057        pCollection->papEntries[pCollection->cEntries++] = pEntry;
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