[U-Boot] [PATCH 0/2] lib/vsprintf: print '?' for illegal Unicode sequence

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Feb 15 22:59:00 UTC 2019


Commit 0e66c10a7d80 ("lib: vsprintf: avoid overflow printing UTF16
strings") broke the Unicode unit tests: an illegal UTF16 code point
should be printed as '?'.

Unfortunately the Unicode unit tests were never executed on Travis due to
an unmet naming convention. So let's rename the Unicode test functions.

Heinrich Schuchardt (2):
  lib/vsprintf: print '?' for illegal Unicode sequence
  test: adjust names of Unicode test functions

 lib/vsprintf.c    |  2 +
 test/unicode_ut.c | 98 +++++++++++++++++++++++------------------------
 2 files changed, 51 insertions(+), 49 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list