Changeset 107454 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jan 7, 2025 10:16:43 AM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 166509
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/uri.cpp
r106061 r107454 102 102 int rc = VINF_SUCCESS; 103 103 104 size_t cbLen = RT_MIN(strlen(pszString), cchMax); 104 size_t const cchStr = strlen(pszString); 105 size_t cbLen = RT_MIN(cchStr, cchMax); 105 106 /* The new string can be max 3 times in size of the original string. */ 106 107 char *pszNew = RTStrAlloc(cbLen * 3 + 1);
Note:
See TracChangeset
for help on using the changeset viewer.