Re: [U-Boot] [PATCH 1/1] lib: vsprintf: avoid overflow printing UTF16 strings

2019-02-10 Thread Simon Glass
On Sat, 9 Feb 2019 at 18:08, Heinrich Schuchardt wrote: > > We have to ensure while printing UTF16 strings that we do not exceed the > end of the print buffer. > > Signed-off-by: Heinrich Schuchardt > --- > lib/vsprintf.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) >

[U-Boot] [PATCH 1/1] lib: vsprintf: avoid overflow printing UTF16 strings

2019-02-09 Thread Heinrich Schuchardt
We have to ensure while printing UTF16 strings that we do not exceed the end of the print buffer. Signed-off-by: Heinrich Schuchardt --- lib/vsprintf.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 4213441fbf..48304607b7