From: chase Date: Fri, 24 Aug 2018 21:52:11 +0000 (-0500) Subject: DtsMM.c: Remove null in string X-Git-Tag: 2.3.0a~26^2~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e96644596363230895311efa1afb260c4ee697b;p=oweals%2Fcde.git DtsMM.c: Remove null in string --- diff --git a/cde/lib/DtSvc/DtUtil1/DtsMM.c b/cde/lib/DtSvc/DtUtil1/DtsMM.c index 99965b0e..6892a180 100644 --- a/cde/lib/DtSvc/DtUtil1/DtsMM.c +++ b/cde/lib/DtSvc/DtUtil1/DtsMM.c @@ -549,7 +549,7 @@ _DtDtsMMCacheName(int override) results = malloc(strlen(_DTDTSMMTEMPDIR)+ strlen(_DTDTSMMTEMPFILE)+ strlen(dsp)+3); - sprintf(results, "%s/%s%s\0", + sprintf(results, "%s/%s%s", _DTDTSMMTEMPDIR, _DTDTSMMTEMPFILE, dsp);