]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Increase the size of the attribute value buffer to 1MB for large media-col-database...
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 20 Oct 2021 21:38:27 +0000 (17:38 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 20 Oct 2021 21:38:27 +0000 (17:38 -0400)
tools/ipptool.c

index efaf4425a94db28cc140818be710a97fe5e5a576..b562d52e430f1800f9a7dde4d00e5e3d8a075099 100644 (file)
@@ -1183,7 +1183,7 @@ do_test(_ipp_file_t    *f,                /* I - IPP data file */
   char         temp[1024];             /* Temporary string */
   cups_file_t  *reqfile;               /* File to send */
   ssize_t      bytes;                  /* Bytes read/written */
-  char         buffer[131072];         /* Copy buffer */
+  char         buffer[1024 * 1024];    /* Copy buffer */
   size_t       widths[200];            /* Width of columns */
   const char   *error;                 /* Current error */