On Thu, Jul 27, 2023 at 10:12:58AM +0300, Dan Carpenter wrote:
> The u16_strlcat() is in units of u16 not bytes. So the limit needs to
> be ARRAY_SIZE() instead of sizeof().
>
> Signed-off-by: Dan Carpenter
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP signature
The u16_strlcat() is in units of u16 not bytes. So the limit needs to
be ARRAY_SIZE() instead of sizeof().
Signed-off-by: Dan Carpenter
---
test/unicode_ut.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/unicode_ut.c b/test/unicode_ut.c
index
On 7/27/23 09:12, Dan Carpenter wrote:
The u16_strlcat() is in units of u16 not bytes. So the limit needs to
be ARRAY_SIZE() instead of sizeof().
Reviewed-by: Heinrich Schuchardt
Signed-off-by: Dan Carpenter
---
test/unicode_ut.c | 6 +++---
1 file changed, 3 insertions(+), 3
3 matches
Mail list logo