Changeset 25342 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Dec 12, 2009 2:48:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r25341 r25342 1121 1121 { 1122 1122 Log(("rtldrPEOpen: %s: Security directory is too small: %#x bytes\n", pszLogName, i, pDir->Size)); 1123 return VERR_LDRPE_ MALFORMED_CERT;1123 return VERR_LDRPE_CERT_MALFORMED; 1124 1124 } 1125 1125 if (pDir->Size >= _1M) 1126 1126 { 1127 1127 Log(("rtldrPEOpen: %s: Security directory is too large: %#x bytes\n", pszLogName, i, pDir->Size)); 1128 return VERR_LDRPE_ MALFORMED_CERT;1128 return VERR_LDRPE_CERT_MALFORMED; 1129 1129 } 1130 1130 if (pDir->VirtualAddress & 7) 1131 1131 { 1132 1132 Log(("rtldrPEOpen: %s: Security directory is misaligned: %#x\n", pszLogName, i, pDir->VirtualAddress)); 1133 return VERR_LDRPE_ MALFORMED_CERT;1133 return VERR_LDRPE_CERT_MALFORMED; 1134 1134 } 1135 1135 break; … … 1451 1451 { 1452 1452 Log(("rtldrPEOpen: %s: cert at %#x/%#x: dwLength=%#x\n", pszLogName, off, Dir.Size, pCur->dwLength)); 1453 rc = VERR_LDRPE_ MALFORMED_CERT;1453 rc = VERR_LDRPE_CERT_MALFORMED; 1454 1454 break; 1455 1455 }
Note:
See TracChangeset
for help on using the changeset viewer.