- Timestamp:
- Nov 12, 2009 6:39:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r24619 r24620 3972 3972 if (typeOfBlock == u32Type) 3973 3973 { 3974 if (cbBlock != 0)3974 if (cbBlock > 2 * sizeof (uint32_t)) 3975 3975 { 3976 pu8Data = (uint8_t *)RTMemAlloc(cbBlock); 3976 cbData = cbBlock - 2 * sizeof (uint32_t); 3977 pu8Data = (uint8_t *)RTMemAlloc(cbData); 3977 3978 if (pu8Data == NULL) 3978 3979 { … … 3985 3986 rc = SSMR3GetU32(pSSM, &u32Height); 3986 3987 AssertRCBreak(rc); 3987 rc = SSMR3GetMem(pSSM, pu8Data, cb Block);3988 rc = SSMR3GetMem(pSSM, pu8Data, cbData); 3988 3989 AssertRCBreak(rc); 3989 cbData = cbBlock;3990 3990 } 3991 3991 else
Note:
See TracChangeset
for help on using the changeset viewer.