]> git.baikalelectronics.ru Git - uboot.git/commit
toradex: tdx-cfg-block: use only snprintf
authorPhilippe Schenker <philippe.schenker@toradex.com>
Mon, 13 Jun 2022 17:35:21 +0000 (19:35 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:08 +0000 (14:30 -0400)
commit05b8515ca632954c7519befa7bd47d838c48008d
tree3737fba835bbaec63576f7b4f3a4c3647ef17450
parent63d3ce7894ce36551b36d8f2d4a2328ff21875f5
toradex: tdx-cfg-block: use only snprintf

Prevent memory issues that could appear with sprintf. Replace all
sprintf occurences with snprintf.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/common/tdx-common.c