efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version
commit e0d64e6a upstream. Translate EFI's UCS-2 variable names to UTF-8 instead of just assuming all variable names fit in ASCII. Signed-off-by:Peter Jones <pjones@redhat.com> Acked-by:
Matthew Garrett <mjg59@coreos.com> Tested-by:
Lee, Chun-Yi <jlee@suse.com> Signed-off-by:
Matt Fleming <matt@codeblueprint.co.uk> [ luis: backported to 3.16: adjusted context ] Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
Showing
Please register or sign in to comment