]> Git Repo - J-u-boot.git/commit - cmd/bootefi.c
efi_loader: buffer size for load options
authorHeinrich Schuchardt <[email protected]>
Fri, 31 Aug 2018 19:31:33 +0000 (21:31 +0200)
committerAlexander Graf <[email protected]>
Sun, 23 Sep 2018 19:55:29 +0000 (21:55 +0200)
commit7086a71aa8a7312db7c58b3989ccce5caf4aedc7
treebb38452f6486657ad6adea7f2ca57539df09cd3e
parentba7bd5c2baf4a375e1c3f23fe9ede503f6435147
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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
cmd/bootefi.c
This page took 0.033937 seconds and 4 git commands to generate.