This commit is contained in:
Nikolaj Schlej 2015-10-01 08:25:41 +02:00
parent 6d8e5976f7
commit 2d33206d29

View File

@ -559,7 +559,7 @@ STATUS FfsParser::parseIntelImage(const QByteArray & intelImage, const UINT32 pa
return ERR_TRUNCATED_IMAGE; return ERR_TRUNCATED_IMAGE;
} }
else if (IntelDataEnd < (UINT32)intelImage.size()) { // Insert padding else if (IntelDataEnd < (UINT32)intelImage.size()) { // Insert padding
QByteArray padding = bios.right(intelImage.size() - IntelDataEnd); QByteArray padding = intelImage.mid(IntelDataEnd);
// Get parent's parsing data // Get parent's parsing data
PARSING_DATA pdata = parsingDataFromQModelIndex(index); PARSING_DATA pdata = parsingDataFromQModelIndex(index);