All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 9fe3d7e7 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix; osfeatures can be null, so check that first before

strstr call.
parent 32c67ad3
......@@ -597,7 +597,8 @@ parse_mfs_path(char *str, boot_what_t *info)
static void
parse_features(char *str, boot_what_t *info)
{
if (strstr(str, "ontrustedboot")) {
/* Note that features might be a null string; no features */
if (str && strstr(str, "ontrustedboot")) {
info->flags |= BIBOOTWHAT_FLAGS_SECURE;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment