Chromium Code Reviews| Index: sandbox/src/policy_low_level.cc |
| =================================================================== |
| --- sandbox/src/policy_low_level.cc (revision 19800) |
| +++ sandbox/src/policy_low_level.cc (working copy) |
| @@ -77,7 +77,7 @@ |
| 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; |