
31 Jan
2022
31 Jan
'22
5:13 p.m.
Hi Heinrich,
On Sat, 29 Jan 2022 at 10:40, Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
Up to now printing UTF-16 strings with snprintf() resulted in correct truncation of printed strings. But the returned required buffer length was incorrect.
- fix function string16()
- provide a unit test
Heinrich Schuchardt (2): lib: fix snprintf() for UTF-16 strings test: test UTF-16 truncation in sprintf()
lib/vsprintf.c | 14 ++++++++++++-- test/unicode_ut.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-)
-- 2.33.1
Would you mind reviewing this one, please?
https://patchwork.ozlabs.org/project/uboot/list/?series=282385
I am worried there might be conflicts and it has been outstanding for a long time.
Regards, Simon