commit | 64299330c0482653885350299a6aac1dfc08e6fd | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat Apr 11 19:02:29 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Tue Apr 28 11:23:37 2020 +0200 |
tree | 444688bc4c250ede9b0816eb0f69e29bd075f5e4 | |
parent | 44bb8b97debfdd465ea46c654134efaccdd44de1 [diff] [blame] |
rcar_gen3: plat: Zero-terminate the string in unsigned_num_print() Make sure the string generated in unsigned_num_print() is zero-terminated. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ic0ac1ebca255002522159a9152ab41991f043d05
diff --git a/plat/renesas/rcar/bl2_plat_setup.c b/plat/renesas/rcar/bl2_plat_setup.c index 8910967..add2a4f 100644 --- a/plat/renesas/rcar/bl2_plat_setup.c +++ b/plat/renesas/rcar/bl2_plat_setup.c
@@ -134,6 +134,7 @@ while (--i >= 0) *string++ = num_buf[i]; + *string = 0; } #if (RCAR_LOSSY_ENABLE == 1)