summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-12-09 09:21:53 -0800
committerMichael Vogt <michael.vogt@ubuntu.com>2008-12-09 09:21:53 -0800
commitaebe158d20055317ad630852d1d331716f61f0ba (patch)
tree94f955464ba6a8b20b4ba67c29680419737b2010
parentd4cd303eae3d686b62b55e8a8202a3430b16f038 (diff)
apt-pkg/contrib/strutl.cc: increase the size limit
-rw-r--r--apt-pkg/contrib/strutl.cc4
1 files changed, 2 insertions, 2 deletions
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);
}