Changeset 108530 in vbox for trunk/src/bldprogs/VBoxEditElf.cpp
- Timestamp:
- Mar 12, 2025 9:51:13 AM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 167920
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/VBoxEditElf.cpp
r108518 r108530 278 278 } 279 279 280 memcpy(pbStr, pszRunpath, cchNewRunpath );281 rc = RTFile ReadAt(hFileElf, offStrTab, pbStrTab, cbStrTab, NULL);280 memcpy(pbStr, pszRunpath, cchNewRunpath + 1); 281 rc = RTFileWriteAt(hFileElf, offStrTab, pbStrTab, cbStrTab, NULL); 282 282 RTMemFree(pbStrTab); 283 283 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.