From: Michael R Sweet Date: Thu, 24 Mar 2016 21:45:11 +0000 (-0400) Subject: The ipptool program truncated values at 8k (Issue #4786) X-Git-Tag: v2.2b1~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9bf31eafbc6287f2e6fe1d526df6c28baee57b;p=thirdparty%2Fcups.git The ipptool program truncated values at 8k (Issue #4786) --- diff --git a/CHANGES-2.1.txt b/CHANGES-2.1.txt index f163d30d0a..f6cfa6ac3d 100644 --- a/CHANGES-2.1.txt +++ b/CHANGES-2.1.txt @@ -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) diff --git a/test/ipptool.c b/test/ipptool.c index 2988891694..24b4b069e4 100644 --- a/test/ipptool.c +++ b/test/ipptool.c @@ -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$". - */