diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2020-05-05 13:12:33 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-05-05 13:12:33 +0000 |
commit | fcfc96d63b90510e83755e81059b47977bcf7073 (patch) | |
tree | b76d2e81bde862bb068a4ea17b8db14d669b03f3 | |
parent | 6eb4304cf539c30c8d766fb5f57f3374f888d4f4 (diff) | |
parent | dcd08687bffbe5c6ab16b69b805e51b4b0fd7b3c (diff) | |
download | arm-trusted-firmware-fcfc96d63b90510e83755e81059b47977bcf7073.tar.gz |
Merge "rcar_gen3: plat: Zero-terminate the string in unsigned_num_print()" into integration
-rw-r--r-- | plat/renesas/rcar/bl2_plat_setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/renesas/rcar/bl2_plat_setup.c b/plat/renesas/rcar/bl2_plat_setup.c index 891096724..add2a4f9b 100644 --- a/plat/renesas/rcar/bl2_plat_setup.c +++ b/plat/renesas/rcar/bl2_plat_setup.c @@ -134,6 +134,7 @@ static void unsigned_num_print(unsigned long long int unum, unsigned int radix, while (--i >= 0) *string++ = num_buf[i]; + *string = 0; } #if (RCAR_LOSSY_ENABLE == 1) |