fix server crash for STRALGO command#7304
Conversation
|
core dumps: ------ STACK TRACE ------ Backtrace: ------ INFO OUTPUT ------ Serverredis_version:999.999.999 Clientsconnected_clients:1 Memoryused_memory:788880 Persistenceloading:0 Statstotal_connections_received:1 Replicationrole:master CPUused_cpu_sys:0.017377 ModulesCommandstatsClustercluster_enabled:0 Keyspacedb0:keys=5,expires=0,avg_ttl=0 ------ CLIENT LIST OUTPUT ------ ------ CURRENT CLIENT INFO ------ ------ REGISTERS ------ ------ MODULES INFO OUTPUT ------ ------ DUMPING CODE AROUND EIP ------
|
|
@hwware thanks! Please can you resubmit using the already defined |
|
@antirez done, sorry I missed this :) |
|
Thanks! Merged. |
fix server crash for STRALGO command
This PR fix: https://github.com/antirez/redis/issues/7301
Cause of this issue: STRAGO LCS command should do sanity check on STRINGS or KEYS parameters length, @antirez please take look, thanks