summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2006-04-26 12:55:06 +0200
committerMichael Vogt <egon@bottom>2006-04-26 12:55:06 +0200
commit2268ad65d9f36433f2b3d46e05e8782285641ee3 (patch)
treec810ed490287038312ab32f8ced18e783aab8309 /apt-pkg/deb/dpkgpm.cc
parentce95a6f99ffa7bcb225bd9dd28dd73ee77553eb5 (diff)
parent432b168ce4ec7a7c2caef44c0c8470c7197d58b3 (diff)
* merged with mainline
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 3b7b2238a..667db8ff2 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -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]);