From: Michael Vogt Date: Tue, 9 Dec 2008 17:21:53 +0000 (-0800) Subject: apt-pkg/contrib/strutl.cc: increase the size limit X-Git-Tag: 0.7.22~6^2~34 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/aebe158d20055317ad630852d1d331716f61f0ba apt-pkg/contrib/strutl.cc: increase the size limit --- diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index cdd88827b..98d9c41e4 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1027,7 +1027,7 @@ void ioprintf(ostream &out,const char *format,...) va_start(args,format); // sprintf the description - char S[400]; + char S[4096]; vsnprintf(S,sizeof(S),format,args); out << S; } @@ -1042,7 +1042,7 @@ void strprintf(string &out,const char *format,...) va_start(args,format); // sprintf the description - char S[1024]; + char S[4096]; vsnprintf(S,sizeof(S),format,args); out = string(S); }