From c5c5dd7132a11b1774a4e5ebbf68eb72bf8764a7 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 6 Aug 2017 01:48:25 +0300 Subject: [PATCH] cd: fix missed null terminator --- pico/cd/cd_image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pico/cd/cd_image.c b/pico/cd/cd_image.c index 07b55ceb..ae2ef0cd 100644 --- a/pico/cd/cd_image.c +++ b/pico/cd/cd_image.c @@ -61,6 +61,7 @@ static void to_upper(char *d, const char *s) else *d = *s; } + *d = 0; } // cdd.c uses lba - 150 -- 2.39.5