Crash report If an unexisting parameter name is used with MODULE LOADEX the server crashes.
Test with rejson.so
127.0.0.1:6379> module loadex /tmp/rejson.so CONFIG invalid_config 1
Error: Server closed the connection
(0.52s)
2365:M 12 Nov 2024 09:51:38.159 * Module 'ReJSON' loaded from /tmp/rejson.so
2365:M 12 Nov 2024 09:51:38.159 # Loadex configurations were not applied, likely due to invalid arguments. Unloading the module.
=== REDIS BUG REPORT START: Cut & paste starting from here ===
2365:M 12 Nov 2024 09:51:38.159 # Redis 255.255.255 crashed by signal: 11, si_code: 2
2365:M 12 Nov 2024 09:51:38.159 # Accessing address: 0x0
2365:M 12 Nov 2024 09:51:38.159 # Crashed running the instruction at: 0x1007a1ef0
------ STACK TRACE ------
EIP:
0 redis-server-unstable 0x00000001007a1ef0 moduleUnload + 116
Backtrace:
0 libsystem_platform.dylib 0x000000018e0ba584 _sigtramp + 56
Test with redisearch.so
127.0.0.1:6379> module loadex /tmp/redisearch.so CONFIG invalid_config 1
Error: Server closed the connection
(0.52s)
1730:M 12 Nov 2024 09:50:18.976 * Module 'search' loaded from /tmp/redisearch.so
1730:M 12 Nov 2024 09:50:18.976 # Loadex configurations were not applied, likely due to invalid arguments. Unloading the module.
=== REDIS BUG REPORT START: Cut & paste starting from here ===
1730:M 12 Nov 2024 09:50:18.976 # Redis 255.255.255 crashed by signal: 11, si_code: 2
1730:M 12 Nov 2024 09:50:18.976 # Accessing address: 0x0
1730:M 12 Nov 2024 09:50:18.976 # Crashed running the instruction at: 0x10257def0
------ STACK TRACE ------
EIP:
0 redis-server-unstable 0x000000010257def0 moduleUnload + 116
Backtrace:
0 libsystem_platform.dylib 0x000000018e0ba584 _sigtramp + 56