]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/help-index.c
Merge changes from CUPS 1.7svn-r10629.
[thirdparty/cups.git] / cgi-bin / help-index.c
index c48ffeb4d0d76422f08c1d9821ca432b60180a78..08586a0b16d013298beaa9efa85f4ce034f01283 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   Online help index routines for CUPS.
  *
- *   Copyright 2007-2011 by Apple Inc.
+ *   Copyright 2007-2012 by Apple Inc.
  *   Copyright 1997-2007 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -910,7 +910,7 @@ help_load_file(
   node   = NULL;
   offset = 0;
 
-  strcpy(section, "Other");
+  strlcpy(section, "Other", sizeof(section));
 
   while (cupsFileGets(fp, line, sizeof(line)))
   {