]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
* cmdline/apt-mark:
[apt.git] / apt-pkg / deb / dpkgpm.cc
index 3b7b2238a7b4cf20180c2f04e19da425b5af7938..667db8ff2d98f4da38ae95d1416ec55c89f874c2 100644 (file)
@@ -623,8 +623,8 @@ bool pkgDPkgPM::Go(int OutStatusFd)
            'status: conffile-prompt: conffile : 'current-conffile' 'new-conffile' useredited distedited
            
         */
-        char* list[4];
-        TokSplitString(':', line, list, 5);
+        char* list[5];
+        TokSplitString(':', line, list, sizeof(list)/sizeof(list[0]));
         char *pkg = list[1];
         char *action = _strstrip(list[2]);