summaryrefslogtreecommitdiffstats
path: root/apt-pkg/deb/deblistparser.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-23 04:10:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-23 04:10:52 +0000
commit85f9a2650850b181208492de61822cf840ee62e5 (patch)
treef2ba509bc1f23e871c5e0e9d569fb82c68280e50 /apt-pkg/deb/deblistparser.cc
parentReleasing progress-linux version 2.9.1-0.0~progress7.99u1. (diff)
downloadapt-85f9a2650850b181208492de61822cf840ee62e5.tar.xz
apt-85f9a2650850b181208492de61822cf840ee62e5.zip
Merging upstream version 2.9.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
-rw-r--r--apt-pkg/deb/deblistparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index 46c3629..071189b 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -608,7 +608,7 @@ const char *debListParser::ParseDepends(const char *Start, const char *Stop,
{
// Skip the '('
for (I++; I != Stop && isspace_ascii(*I) != 0 ; I++);
- if (I + 3 >= Stop)
+ if (I + 3 > Stop)
return 0;
I = ConvertRelation(I,Op);