]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/cupsfilter.c
Merge changes from CUPS 1.7svn-r10629.
[thirdparty/cups.git] / scheduler / cupsfilter.c
index 11997e0a2aee0000d1ac9f06f744770592208d24..60f522c28c236ba02b9e84838c889a2688840f90 100644 (file)
@@ -771,7 +771,7 @@ escape_options(
     if (sptr > s)
       *sptr++ = ' ';
 
-    strcpy(sptr, option->name);
+    strlcpy(sptr, option->name, bytes - (sptr - s));
     sptr += strlen(sptr);
     *sptr++ = '=';