Changeset 43876 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Nov 15, 2012 1:44:09 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 82086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tftp.c
r43233 r43876 547 547 RT_ZERO(aszOptionBuffer); 548 548 iOptLength += RTStrPrintf(aszOptionBuffer, 256 , "%s", pszOptName) + 1; 549 iOptLength += RTStrPrintf(aszOptionBuffer + iOptLength, 256 - iOptLength , "% u", u64OptValue) + 1;549 iOptLength += RTStrPrintf(aszOptionBuffer + iOptLength, 256 - iOptLength , "%llu", u64OptValue) + 1; 550 550 if (iOptLength > M_TRAILINGSPACE(pMBuf)) 551 551 rc = VERR_BUFFER_OVERFLOW; /* buffer too small */
Note:
See TracChangeset
for help on using the changeset viewer.