check that flags have the IRK stored before retrieving it

pull/7123/head
paul-szczepanek-arm 2018-06-05 14:25:56 +01:00
parent 74aec930e6
commit 265132c5a8
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ public:
entry_handle_t db_handle = get_entry_handle_by_index(i);
SecurityDistributionFlags_t* flags = get_distribution_flags(db_handle);
if (!flags) {
if (!flags || !flags->irk_stored) {
continue;
}