Changeset 45996 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- May 12, 2013 11:41:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r45994 r45996 841 841 if ( pCv20->u32Magic == CVPDB20INFO_MAGIC 842 842 && pCv20->offDbgInfo == 0 843 && paDbgDir[i].SizeOfData > RT_ OFFSETOF(CVPDB20INFO, szPdbFilename) )843 && paDbgDir[i].SizeOfData > RT_UOFFSETOF(CVPDB20INFO, szPdbFilename) ) 844 844 { 845 845 DbgInfo.enmType = RTLDRDBGINFOTYPE_CODEVIEW_PDB20; … … 850 850 } 851 851 else if ( pCv20->u32Magic == CVPDB70INFO_MAGIC 852 && paDbgDir[i].SizeOfData > RT_ OFFSETOF(CVPDB70INFO, szPdbFilename) )852 && paDbgDir[i].SizeOfData > RT_UOFFSETOF(CVPDB70INFO, szPdbFilename) ) 853 853 { 854 854 PCCVPDB70INFO pCv70 = (PCCVPDB70INFO)pCv20; … … 864 864 case IMAGE_DEBUG_TYPE_MISC: 865 865 if ( paDbgDir[i].SizeOfData < sizeof(szPath) 866 && paDbgDir[i].SizeOfData > RT_ OFFSETOF(IMAGE_DEBUG_MISC, Data)866 && paDbgDir[i].SizeOfData > RT_UOFFSETOF(IMAGE_DEBUG_MISC, Data) 867 867 && DbgInfo.LinkAddress != NIL_RTLDRADDR) 868 868 {
Note:
See TracChangeset
for help on using the changeset viewer.