]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/contrib/strutl.cc: increase the size limit
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 9 Dec 2008 17:21:53 +0000 (09:21 -0800)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 9 Dec 2008 17:21:53 +0000 (09:21 -0800)
apt-pkg/contrib/strutl.cc

index cdd88827b5f21a2acd245d8c7e3310b7caed2058..98d9c41e43b213deb5f8231d9938c97679d6a771 100644 (file)
@@ -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);
 }