]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: freescale: Replace invalid usage of sprintf by strcat
authorFrancois Berder <fberder@outlook.fr>
Wed, 10 Jul 2024 21:37:35 +0000 (23:37 +0200)
committerPeng Fan <peng.fan@nxp.com>
Sun, 15 Dec 2024 02:08:07 +0000 (10:08 +0800)
commitc71aaaf6a896589c97e6ebb45c85f577d435c1e5
treeef0611e0ccb9ef70a0dc8238d54f3d0cbb217114
parentb4626f3934767e2e40cd56fc4368af835fd94126
board: freescale: Replace invalid usage of sprintf by strcat

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@outlook.fr>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/t208xqds/eth_t208xqds.c