• LoveSy's avatar
    Fix UB on dtb · c91ccc8b
    LoveSy authored
    `operator==` of string_view will create a tmp `string_view`.
    It's an UB if the `const char *` is a nullptr.
    `fdt_get_name` however will return a nullptr.
    c91ccc8b
dtb.cpp 12.8 KB