Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libfwup: set_up_boot_next(): make sure we check if our file paths are…
… NULL. Coverity's clang scan believes we can sometimes alloca(0) if fwup_esp_path is NULL, though I don't think this can happen because if it is NULL get_paths() should have returned error. Nevertheless, just check both things. Additionally, this adds a check to make sure utf8_to_ucs2() and ucs2len() didn't fail. Signed-off-by: Peter Jones <pjones@redhat.com>
- Loading branch information