]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The ipptool program truncated values at 8k (Issue #4786)
authorMichael R Sweet <michaelrsweet@gmail.com>
Thu, 24 Mar 2016 21:45:11 +0000 (17:45 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Thu, 24 Mar 2016 21:45:11 +0000 (17:45 -0400)
CHANGES-2.1.txt
test/ipptool.c

index f163d30d0a5af10a88733ede86eabb0a78c1923a..f6cfa6ac3de56372838c7c2995189ddc4118c466 100644 (file)
@@ -3,6 +3,7 @@ CHANGES-2.1.txt
 
 CHANGES IN CUPS V2.1.4
 
+       - The ipptool program truncated values at 8k (Issue #4786)
        - The cups-lpd mini-daemon incorrectly included the document-name
          attribute when creating a job.  It should only be included when
          sending a job (Issue #4790)
index 29888916940b3700765d3df078589339ab22cb79..24b4b069e4a9f14fa4afa100c006f2b0c8360c09 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * "$Id$"
- *
  * ipptool command for CUPS.
  *
  * Copyright 2007-2016 by Apple Inc.
@@ -786,7 +784,7 @@ do_tests(FILE         *outfile,             /* I - Output file */
                token[1024],            /* Token from file */
                *tokenptr,              /* Pointer into token */
                temp[1024],             /* Temporary string */
-               buffer[8192],           /* Copy buffer */
+               buffer[131072],         /* Copy buffer */
                compression[16];        /* COMPRESSION value */
   ipp_t                *request = NULL,        /* IPP request */
                *response = NULL;       /* IPP response */
@@ -4442,7 +4440,7 @@ print_attr(FILE            *outfile,      /* I  - Output file */
   }
   else
   {
-    char       buffer[8192];           /* Value buffer */
+    char       buffer[131072];         /* Value buffer */
 
     if (format == _CUPS_OUTPUT_TEST)
     {
@@ -6198,8 +6196,3 @@ with_value_from(
 
   return (0);
 }
-
-
-/*
- * End of "$Id$".
- */