]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexcopy.cc
tests: don't do boundless string compares with data()
[apt.git] / apt-pkg / indexcopy.cc
index 4aade6e8a45d58966a2a47d94131565262933175..4a35e3847005bd32dcb4812bceb45a0f7aa62997 100644 (file)
@@ -550,7 +550,7 @@ bool SigVerify::CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
       if(Debug)
         cout << "Signature verify for: " << *I << endl;
 
-      metaIndex *MetaIndex = new debReleaseIndex("","");
+      metaIndex *MetaIndex = new debReleaseIndex("","", {});
       string prefix = *I; 
 
       string const releasegpg = *I+"Release.gpg";