VirtualBox

Changeset 81521 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Oct 24, 2019 3:44:53 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134252
Message:

Runtime/stream: no speculative looking at memory beyond end of input buffer

File:
1 edited

Legend:

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

    r76553 r81521  
    903903        char       *pszSrcFree = NULL;
    904904        const char *pszSrc     = (const char *)pvBuf;
    905         if (pszSrc[cbWrite])
     905        if (pszSrc[cbWrite - 1])
    906906        {
    907907            pszSrc = pszSrcFree = RTStrDupN(pszSrc, cbWrite);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette