0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

out of range string access

This commit is contained in:
dwight 2010-07-04 09:16:21 -04:00
parent 291cefc35c
commit c189aeec21

View File

@ -132,6 +132,7 @@ namespace mongo {
if ( c == '$' &&
i > 0 && fullName[i-1] == '.' &&
i+1<fullName.size() &&
fullName[i+1] == '.' ){
i++;
continue;