CLEANUP: Use MAX_MAP_SIZE instead of ARCUS_COLL_SIZE_MAX.
@@ -12055,7 +12055,7 @@ static void process_mop_command(conn *c, token_t *tokens, const size_t ntokens)
out_string(c, "CLIENT_ERROR bad value");
return;
}
- if (numfields > ARCUS_COLL_SIZE_MAX ||
+ if (numfields > MAX_MAP_SIZE ||
numfields > ((lenfields/2) + 1) ||
lenfields > ((numfields*MAX_FIELD_LENG) + numfields-1)) {
out_string(c, "CLIENT_ERROR bad value");
@@ -12121,7 +12121,7 @@ static void process_mop_command(conn *c, token_t *tokens, const size_t ntokens)
out_string(c, "CLIENT_ERROR bad value");
return;
}
- if (numfields > ARCUS_COLL_SIZE_MAX ||
+ if (numfields > MAX_MAP_SIZE ||
numfields > ((lenfields/2) + 1) ||
lenfields > ((numfields*MAX_FIELD_LENG) + numfields-1)) {
out_string(c, "CLIENT_ERROR bad value");
