Skip to content

Commit

Permalink
Engine 0.20.4
Browse files Browse the repository at this point in the history
- solved a crash during handling of a malformed DEPEX section
  • Loading branch information
NikolajSchlej committed Feb 17, 2015
1 parent 0fb1a57 commit 4c290c5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion UEFIExtract/uefiextract_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int main(int argc, char *argv[])

}
else {
std::cout << "UEFIExtract 0.4.2" << std::endl << std::endl <<
std::cout << "UEFIExtract 0.4.4" << std::endl << std::endl <<
"Usage: uefiextract imagefile [FileGUID_1 FileGUID_2 ... FileGUID_31]" << std::endl <<
"Returned value is a bit mask where 0 on position N meant File with GUID_N was found and unpacked, 1 otherwise" << std::endl;
return 1;
Expand Down
2 changes: 1 addition & 1 deletion UEFIFind/uefifind_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int main(int argc, char *argv[])
return ERR_SUCCESS;
}
else {
std::cout << "UEFIFind 0.3.0" << std::endl << std::endl <<
std::cout << "UEFIFind 0.3.4" << std::endl << std::endl <<
"Usage: uefifind {header | body | all} {list | count} pattern imagefile\n";
return ERR_INVALID_PARAMETER;
}
Expand Down
2 changes: 1 addition & 1 deletion UEFIPatch/uefipatch_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ int main(int argc, char *argv[])
result = w.patchFromFile(a.arguments().at(1));
}
else {
std::cout << "UEFIPatch 0.3.2 - UEFI image file patching utility" << std::endl << std::endl <<
std::cout << "UEFIPatch 0.3.4 - UEFI image file patching utility" << std::endl << std::endl <<
"Usage: UEFIPatch image_file" << std::endl << std::endl <<
"Patches will be read from patches.txt file\n";
return ERR_SUCCESS;
Expand Down
4 changes: 4 additions & 0 deletions ffsengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,7 @@ UINT8 FfsEngine::parseDepexSection(const QByteArray & body, QString & parsed)
current += EFI_DEP_OPCODE_SIZE;
break;
default:
return ERR_DEPEX_PARSE_FAILED;
break;
}

Expand Down Expand Up @@ -1305,6 +1306,9 @@ UINT8 FfsEngine::parseDepexSection(const QByteArray & body, QString & parsed)
return ERR_DEPEX_PARSE_FAILED;
}
break;
default:
return ERR_DEPEX_PARSE_FAILED;
break;
}
}

Expand Down
2 changes: 1 addition & 1 deletion uefitool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
UEFITool::UEFITool(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::UEFITool),
version(tr("0.20.3"))
version(tr("0.20.4"))
{
clipboard = QApplication::clipboard();

Expand Down

0 comments on commit 4c290c5

Please sign in to comment.