redict/tests/unit
Drew DeVault ba5dcb3b16 Fix Read/Write key pattern selector (CVE-2024-51741)
The explanation on the original commit was wrong. Key based access must
have a `~` in order to correctly configure whey key prefixes to apply
the selector to. If this is missing, a server assert will be triggered
later.

Cherry-picked and squashed from relevant Valkey changes.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Co-authored-by: YaacovHazan <yaacov.hazan@redis.com>
2025-01-07 18:27:01 +01:00
..
cluster tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
moduleapi tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
type all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
acl-v2.tcl Fix Read/Write key pattern selector (CVE-2024-51741) 2025-01-07 18:27:01 +01:00
acl.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
aofrw.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
auth.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
bitfield.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
bitops.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
client-eviction.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
dump.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
expire.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
functions.tcl Hard code redis.REDIS_VERSION to 7.2.4 2024-04-01 11:57:54 +02:00
geo.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
hyperloglog.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
info-command.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
info.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
introspection-2.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
introspection.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
keyspace.tcl Prevent unbounded recursive pattern matching 2024-09-16 09:08:35 +02:00
latency-monitor.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
lazyfree.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
limits.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
maxmemory.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
memefficiency.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
multi.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
networking.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
obuf-limits.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
oom-score-adj.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
other.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
pause.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
printver.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
protocol.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
pubsub.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
pubsubshard.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
querybuf.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
quit.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
replybufsize.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
scan.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
scripting.tcl Fix integer overflow bug in Lua bit_tohex 2024-09-16 09:08:14 +02:00
shutdown.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
slowlog.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
sort.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
tls.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
tracking.tcl tests/*: replace redis with redict in Lua usage 2024-03-26 12:12:03 +01:00
violations.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00
wait.tcl all: let's go LGPL over GPL 2024-03-21 20:11:44 +01:00