You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…eys (#201)
This PR introduces some constraints on the minimum length of keys,
patterns and short strings handled by the Redis command parser to ensure
that if an argument of that type is zero-length will be rejected.
Tests are introduced as well to validate the rejection.
On a side, the PR also changes some code to take into account the
returned value of module_redis_connection_error_message_printf_*
Closes#199
From some initial testing, looks like SET accept empty keys, which shouldn't be allowed.
The various function that SET values must be reviewed to ensure that this is prevented.
Also, it's necessary to analyze Redis behaviour to match the error messages and/or the operations carried out.
The text was updated successfully, but these errors were encountered: