From: notaz Date: Sat, 5 Aug 2017 22:48:25 +0000 (+0300) Subject: cd: fix missed null terminator X-Git-Tag: v1.92~60 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=commitdiff_plain;h=c5c5dd7132a11b1774a4e5ebbf68eb72bf8764a7 cd: fix missed null terminator --- diff --git a/pico/cd/cd_image.c b/pico/cd/cd_image.c index 07b55ce..ae2ef0c 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