From 9383267ded274b41c0ead33208764f5a057446e6 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Wed, 4 Jul 2018 01:34:02 +0100 Subject: [PATCH] libDtHelp: Coverity 88906 --- cde/lib/DtHelp/AccessCCDF.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/DtHelp/AccessCCDF.c b/cde/lib/DtHelp/AccessCCDF.c index 11bff490..c5f5624b 100644 --- a/cde/lib/DtHelp/AccessCCDF.c +++ b/cde/lib/DtHelp/AccessCCDF.c @@ -1275,7 +1275,7 @@ _DtHelpCeMapCcdfTargetToId ( char newTarget[128]; CcdfVolumePtr ccdfVol = GetCcdfVolumePtr(vol); - strcpy (newTarget, target_id); + snprintf(newTarget, sizeof(newTarget), "%s", target_id); _DtHelpCeUpperCase(newTarget); /* -- 2.25.1