diff --git a/ppd/ppd-ipp.c b/ppd/ppd-ipp.c index eee162bf..0f434ddb 100644 --- a/ppd/ppd-ipp.c +++ b/ppd/ppd-ipp.c @@ -547,7 +547,7 @@ ppdLoadAttributes( while (*ptr && isspace(*ptr)) ptr ++; if (!isdigit(*ptr)) { - strcpy(buf, ptr); + snprintf(buf, sizeof(buf), "%s", ptr); ptr = buf; while (*ptr && !isspace(*ptr)) ptr ++; if (*ptr)