[PATCH] board: freescale: Replace invalid usage of sprintf by strcat
Peng Fan
peng.fan at oss.nxp.com
Sun Dec 15 03:07:07 CET 2024
On Wed, Jul 10, 2024 at 11:37:35PM +0200, Francois Berder wrote:
>buf was used as destination and as parameter to sprintf
>which triggers an undefined behaviour.
>This commit removes this usage of sprintf and uses strcat
>to append strings to buf variable.
>
>Signed-off-by: Francois Berder <fberder at outlook.fr>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
More information about the U-Boot
mailing list