]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
efi: Do variable name validation tests in utf8
authorPeter Jones <pjones@redhat.com>
Mon, 8 Feb 2016 19:48:13 +0000 (14:48 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 12 Apr 2016 02:44:22 +0000 (22:44 -0400)
commitd5181a51587102a71e7b05021603693f463dcab2
treec4bd505934a9eb530947f3c0995050abdcafd599
parent4181c95f943d60cff60e36e25368d0f627458ada
efi: Do variable name validation tests in utf8

[ Upstream commit 3dcb1f55dfc7631695e69df4a0d589ce5274bd07 ]

Actually translate from ucs2 to utf8 before doing the test, and then
test against our other utf8 data, instead of fudging it.

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/firmware/efi/vars.c