]> git.baikalelectronics.ru Git - uboot.git/commit
lib: vsprintf: avoid overflow printing UTF16 strings
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 10 Feb 2019 10:11:26 +0000 (11:11 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:06 +0000 (09:40 +0100)
commit06457373a48fc5ab0b70832a5bfab71f01946872
tree4c03de59966d96a733c85634721a567760e5b8a0
parent8c2f4da7ac9b8a64585c934158f761172219bc98
lib: vsprintf: avoid overflow printing UTF16 strings

We have to ensure while printing UTF16 strings that we do not exceed the
end of the print buffer.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/vsprintf.c