1
0
Fork 0

Fix buffer overrun while comparing two sortNodes

This commit is contained in:
Willi Goesgens 2014-09-04 17:29:22 +02:00
parent 8cb1330cc2
commit 30b33a1793
1 changed files with 1 additions and 1 deletions

View File

@ -1443,7 +1443,7 @@ namespace triagens {
size_t const n = criteria.size();
for (size_t i = 0; i < n; ++i) {
if (other.criteria.size() < i) {
if (other.criteria.size() <= i) {
return false;
}