]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/strutl.cc
apt-pkg/contrib/strutl.cc: increase the size limit
[apt.git] / 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);
 }