]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The scheduler did not save or restore large Kerberos credentials for jobs.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 2 Sep 2011 03:53:59 +0000 (03:53 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 2 Sep 2011 03:53:59 +0000 (03:53 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9954 7a7537e8-13f0-0310-91df-b6672ffda945

CHANGES-1.5.txt
scheduler/ipp.c
scheduler/job.c

index 801c7248f6a2c37378e21b0105d2b50fb7dbe487..51b41b7a306d0331a3e7c77e9b32de2d00bf86f0 100644 (file)
@@ -4,6 +4,8 @@ CHANGES-1.5.txt
 CHANGES IN CUPS V1.5.1
 
        - Documentation updates (STR #3885)
+       - The scheduler did not save or restore large Kerberos credentials for
+         jobs.
        - The dnssd backend did not properly browse for secure IPP printers.
        - httpAssembleURI* did not properly escape all special characters in the
          username/password field.
index 8c75d8c981897a79abfde811807bbe4633706641..c801837945bf8c8c1176398ad88059dd359f08bb 100644 (file)
@@ -10308,7 +10308,7 @@ save_auth_info(
   int                  i;              /* Looping var */
   char                 filename[1024]; /* Job authentication filename */
   cups_file_t          *fp;            /* Job authentication file */
-  char                 line[2048];     /* Line for file */
+  char                 line[65536];    /* Line for file */
   cupsd_printer_t      *dest;          /* Destination printer/class */
 
 
index e21be597c4ab228412582165be852b138eb95412..f0e4ad8683b5b920b0a70231dfd5f49e17f2b340 100644 (file)
@@ -1816,8 +1816,8 @@ cupsdLoadJob(cupsd_job_t *job)            /* I - Job */
     if ((fp = cupsFileOpen(jobfile, "r")) != NULL)
     {
       int      bytes;                  /* Size of auth data */
-      char     line[255],              /* Line from file */
-               data[255];              /* Decoded data */
+      char     line[65536],            /* Line from file */
+               data[65536];            /* Decoded data */
 
 
       for (i = 0;