summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2006-12-01 14:36:26 +0100
committerMichael Vogt <egon@bottom>2006-12-01 14:36:26 +0100
commit6cc61a167355711ef3494ce807d5ab24c63eae3f (patch)
tree83cb24f56919ab6387ef0450db8821e56be2520c /apt-pkg
parentec759a799176881468b85f14c37d3964e199effb (diff)
parentf88137b8972f57c52bbadf54a80932f225562a95 (diff)
* merged from main
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/debsrcrecords.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debsrcrecords.cc b/apt-pkg/deb/debsrcrecords.cc
index 17645a5ac..e1c6427e8 100644
--- a/apt-pkg/deb/debsrcrecords.cc
+++ b/apt-pkg/deb/debsrcrecords.cc
@@ -36,7 +36,7 @@ const char **debSrcRecordParser::Binaries()
if (Bins.empty() == true || Bins.length() >= 102400)
return 0;
- if (Bins.length() > BufSize)
+ if (Bins.length() >= BufSize)
{
delete [] Buffer;
// allocate new size based on buffer (but never smaller than 4000)