You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!found_dbx_default || !found_kek_default || !found_pk_default) {
9847
9847
// Surface Pro models (like Pro 8) and Lenovo models, like 21CNS0YA0V, 21KSCTO1WW, 20LTA50SCD, 20U8S18J00, etc... miss dbDefault and related sb efi vars
9848
-
// Case-insensitive check added here
9849
9848
if (ascii_string_equals_ci(manufacturer_str, "lenovo") || ascii_string_equals_ci(manufacturer_str, "surface pro"))
9850
9849
detection_result = false;
9851
9850
}
@@ -9875,13 +9874,13 @@ struct VM {
9875
9874
}
9876
9875
for (constchar* p : vendor_list_ascii) if (buffer_contains_ascii_ci(buf, len, p)) returntrue;
9877
9876
returnfalse;
9878
-
};
9877
+
};
9879
9878
auto buffer_has_specific_vendor = [&](BYTE* buf, SIZE_T len, constchar* a, constwchar_t* w) noexcept -> bool {
9880
9879
if (!buf || len == 0) returnfalse;
9881
9880
if ((len >= 2) && ((len % 2) == 0) && w) { const WCHAR* wp = reinterpret_cast<const WCHAR*>(buf); if (buffer_contains_utf16le_ci(wp, len / sizeof(WCHAR), w)) returntrue; }
9882
9881
if (a) if (buffer_contains_ascii_ci(buf, len, a)) returntrue;
0 commit comments