diff options
author | Michael Vogt <egon@bottom> | 2006-04-26 12:55:06 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2006-04-26 12:55:06 +0200 |
commit | 2268ad65d9f36433f2b3d46e05e8782285641ee3 (patch) | |
tree | c810ed490287038312ab32f8ced18e783aab8309 /apt-pkg/deb/dpkgpm.cc | |
parent | ce95a6f99ffa7bcb225bd9dd28dd73ee77553eb5 (diff) | |
parent | 432b168ce4ec7a7c2caef44c0c8470c7197d58b3 (diff) |
* merged with mainline
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 4 |
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]); |