forked from qt-creator/qt-creator
Using numerous form
Change-Id: I6664790e0aa50abdf9c2adb224168065ce57cb8c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
committed by
Robert Löhning
parent
7f962aeb6b
commit
7b9cd61e5f
@@ -243,8 +243,8 @@ ElfReader::Result ElfReader::readIt()
|
|||||||
QTC_CHECK(data == mapper.ustart + (is64Bit ? 64 : 52));
|
QTC_CHECK(data == mapper.ustart + (is64Bit ? 64 : 52));
|
||||||
|
|
||||||
if (quint64(e_shnum) * e_shentsize > fdlen) {
|
if (quint64(e_shnum) * e_shentsize > fdlen) {
|
||||||
const QString reason = tr("announced %1 sections, each %2 bytes, exceed file size")
|
const QString reason = tr("announced %n sections, each %1 bytes, exceed file size", 0, e_shnum)
|
||||||
.arg(e_shnum).arg(e_shentsize);
|
.arg(e_shentsize);
|
||||||
m_errorString = msgInvalidElfObject(m_binary, reason);
|
m_errorString = msgInvalidElfObject(m_binary, reason);
|
||||||
return Corrupt;
|
return Corrupt;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user