Changeset 21507 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Jul 10, 2009 11:54:57 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49957
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestProperties/service.cpp
r20894 r21507 938 938 || RT_FAILURE(paParms[0].getPointer ((void **) &pszPatterns, &cchPatterns)) /* patterns */ 939 939 || pszPatterns[cchPatterns - 1] != '\0' /* The patterns string must be zero-terminated */ 940 /** @todo r=bird: What if cchPatterns is 0? pszPatterns is NULL then, and if it wasn't, you'd access memory 941 * before what it points to. Add a getString() method? Please, check *all* similar cases. 942 * Remember that the guest is not trusted. :-) */ 940 943 || RT_FAILURE(paParms[1].getUInt64 (&u64Timestamp)) /* timestamp */ 941 944 || RT_FAILURE(paParms[2].getPointer ((void **) &pchBuf, &cchBuf)) /* return buffer */
Note:
See TracChangeset
for help on using the changeset viewer.