[0/8] add memdup_nul(), use it and memdup() in a few places

Simon Glass sjg at chromium.org
Mon Apr 13 16:56:47 CEST 2026


Hi Rasmus,

On 2026-04-12T19:59:41, Rasmus Villemoes <ravi at prevas.dk> wrote:

> lib/string.c: introduce memdup_nul() helper

This looks like a nice cleanup series.

Since you are adding a new public helper, please can you add a unit
test for memdup_nul() in test/lib/string.c?

Regards,
Simon


More information about the U-Boot mailing list