summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sandbox/src/policy_low_level.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/src/policy_low_level.cc b/sandbox/src/policy_low_level.cc
index f83fd96..401f2e1 100644
--- a/sandbox/src/policy_low_level.cc
+++ b/sandbox/src/policy_low_level.cc
@@ -77,7 +77,7 @@ bool LowLevelPolicy::Done() {
for (Mmap::iterator it = mmap.begin(); it != mmap.end(); ++it) {
uint32 service = (*it).first;
- if (service > kMaxServiceCount) {
+ if (service >= kMaxServiceCount) {
return false;
}
policy_store_->entry[service] = current_buffer;