Changeset 65550 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jan 31, 2017 4:26:34 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113197
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp
r65120 r65550 879 879 * Copy the bytes into the buffer and terminate it. 880 880 */ 881 memcpy(&pHlp->pszBuf[pHlp->offBuf], pachChars, cbChars); 882 pHlp->offBuf += cbChars; 881 if (cbChars) 882 { 883 memcpy(&pHlp->pszBuf[pHlp->offBuf], pachChars, cbChars); 884 pHlp->offBuf += cbChars; 885 } 883 886 pHlp->pszBuf[pHlp->offBuf] = '\0'; 884 887 Assert(pHlp->offBuf < pHlp->cbBuf);
Note:
See TracChangeset
for help on using the changeset viewer.