]> git.dujemihanovic.xyz Git - u-boot.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)
commit39ff0624bc5ad287fced0f60be9b977d07b1813a
tree3737fba835bbaec63576f7b4f3a4c3647ef17450
parente0392596e90488247d4d850168717b6b9f2b90da
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