mirror of https://gitee.com/bigwinds/arangodb
Fix buffer overrun while comparing two sortNodes
This commit is contained in:
parent
8cb1330cc2
commit
30b33a1793
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue