commit | de5278067d88b39978ba6fb58d5b49ab1e992887 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Aug 31 21:31:33 2018 +0200 |
committer | Alexander Graf <agraf@suse.de> | Sun Sep 23 21:55:29 2018 +0200 |
tree | bb38452f6486657ad6adea7f2ca57539df09cd3e | |
parent | a419d1d161c5833d1bdd003cf4ec12da7c214882 [diff] |
efi_loader: buffer size for load options The number of bytes in an utf-8 string is an upper limit for the number of words in the equivalent utf-16 string. In so far the inumbant coding works correctly. For non-ASCII characters the utf-16 string is shorter. With the patch only the necessary buffer size is allocated for the load options. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>