VirtualBox

Changeset 68125 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 26, 2017 3:43:54 PM (7 years ago)
Author:
vboxsync
Message:

RTCString: Added assign() methods. [bugfix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/ministring.cpp

    r68123 r68125  
    9393            a_cchSrc = cchMax;
    9494        reserve(a_cchSrc + 1);
    95         memcpy(m_psz, a_rSrc.c_str(), a_cchSrc);
     95        memcpy(m_psz, a_rSrc.c_str() + a_offSrc, a_cchSrc);
    9696        m_psz[a_cchSrc] = '\0';
    9797        m_cch = a_cchSrc;
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