Changeset 73097 in vbox for trunk/src/VBox/Runtime/r3/solaris/krnlmod-solaris.cpp
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/krnlmod-solaris.cpp
r67304 r73097 91 91 int rc = VINF_SUCCESS; 92 92 size_t cchName = strlen(&pModInfo->mi_name[0]) + 1; 93 PRTKRNLMODINFOINT pThis = (PRTKRNLMODINFOINT)RTMemAllocZ(RT_ OFFSETOF(RTKRNLMODINFOINT, achName[cchName]));93 PRTKRNLMODINFOINT pThis = (PRTKRNLMODINFOINT)RTMemAllocZ(RT_UOFFSETOF_DYN(RTKRNLMODINFOINT, achName[cchName])); 94 94 if (RT_LIKELY(pThis)) 95 95 {
Note:
See TracChangeset
for help on using the changeset viewer.