redis/modules
Zijie Zhao 8e89e0b89f
Some checks are pending
CI / test-ubuntu-latest (push) Waiting to run
CI / test-sanitizer-address (push) Waiting to run
CI / build-debian-old (push) Waiting to run
CI / build-macos-latest (push) Waiting to run
CI / build-32bit (push) Waiting to run
CI / build-libc-malloc (push) Waiting to run
CI / build-centos-jemalloc (push) Waiting to run
CI / build-old-chain-jemalloc (push) Waiting to run
Codecov / code-coverage (push) Waiting to run
External Server Tests / test-external-standalone (push) Waiting to run
External Server Tests / test-external-cluster (push) Waiting to run
External Server Tests / test-external-nodebug (push) Waiting to run
Spellcheck / Spellcheck (push) Waiting to run
Fix VSIM FILTER memory leaks on duplicate option and error paths (#14898)
`VSIM_RedisCommand` in `vset.c` had two memory leak bugs related to the
compiled FILTER expression (`exprstate` allocated by `exprCompile`):

1. Duplicate FILTER: When two FILTER options are provided in a single
VSIM command, the second `exprCompile` overwrites `filter_expr` without
freeing the first. Only the last one is freed in `VSIM_execute cleanup`.
   Fix: call `exprFree` on the existing `filter_expr` before reassigning.

2. Error path leaks: When FILTER is parsed successfully but a later
option fails validation (invalid COUNT/EF/EPSILON/FILTER-EF or unknown
option), the error return frees `vec` but not `filter_expr`.
   Fix: add `exprFree(filter_expr)` to all five error return paths.
2026-03-27 12:27:24 +08:00
..
redisbloom DataTypes update 8.8 milestone 1 (#14904) 2026-03-19 22:11:45 +02:00
redisearch MOD-13504: Update Search to RC1 8.5.90 (#14717) 2026-01-20 11:07:15 +02:00
redisjson DataTypes update 8.8 milestone 1 (#14904) 2026-03-19 22:11:45 +02:00
redistimeseries DataTypes update 8.8 milestone 1 (#14904) 2026-03-19 22:11:45 +02:00
vector-sets Fix VSIM FILTER memory leaks on duplicate option and error paths (#14898) 2026-03-27 12:27:24 +08:00
common.mk Few fixes around make for modules (#13922) 2025-04-06 11:09:07 +03:00
Makefile Upgrade Rust toolchain from 1.93.1 to 1.94.0 2026-03-26 21:26:43 +02:00