Changeset 58834 in vbox
- Timestamp:
- Nov 23, 2015 5:47:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c
r58459 r58834 743 743 if ((BmpHeader->Size != BmpImageSize) || 744 744 (BmpHeader->Size < BmpHeader->ImageOffset) || 745 #ifndef VBOX 745 746 (BmpHeader->Size - BmpHeader->ImageOffset != BmpHeader->PixelHeight * DataSizePerLine)) { 747 #else 748 /* 749 * Our boot logo size is two bytes bigger (some 4 byte alignment in the file I guess) 750 * than the calculated size which makes the above line fail. Just let it pass as long as there 751 * is no data underrun. 752 */ 753 (BmpHeader->Size - BmpHeader->ImageOffset < BmpHeader->PixelHeight * DataSizePerLine)) { 754 #endif 746 755 return EFI_INVALID_PARAMETER; 747 756 }
Note:
See TracChangeset
for help on using the changeset viewer.