DtsMM.c: Remove null in string
authorchase <chase@localhost.com>
Fri, 24 Aug 2018 21:52:11 +0000 (16:52 -0500)
committerJon Trulson <jon@radscan.com>
Sun, 26 Aug 2018 21:44:47 +0000 (15:44 -0600)
cde/lib/DtSvc/DtUtil1/DtsMM.c

index 99965b0eb8e113c7d89a39a373e833f3d74fc71b..6892a18090dd78bd38c25204518bf03268f8737d 100644 (file)
@@ -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);