Engine 0.20.4

- solved a crash during handling of a malformed DEPEX section
This commit is contained in:
Nikolaj Schlej 2015-02-17 23:46:15 +01:00
parent 0fb1a57a97
commit 4c290c5204
5 changed files with 8 additions and 4 deletions

View file

@ -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;
}
@ -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;
}
}