[PATCH] serial: smh: Check return value of strndup

Tom Rini trini at konsulko.com
Fri May 6 01:38:11 CEST 2022


On Fri, Apr 22, 2022 at 02:50:23PM -0400, Sean Anderson wrote:

> strndup can fail. Check for it.
> 
> Fixes: 4855b39be ("serial: smh: Implement puts for DM")
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220505/c7fb4725/attachment.sig>


More information about the U-Boot mailing list