valkey/deps
antirez c806dd799b Fix Sentinel memory leak (hiredis bug)
This fixes issue #2535, that was actually an hiredis library bug (I
submitted an issue and fix to the redis/hiredis repo as well).

When an asynchronous hiredis connection subscribes to a Pub/Sub channel
and gets an error, and in other related conditions, the function
redisProcessCallbacks() enters a code path where the link is
disconnected, however the function returns before freeing the allocated
reply object. This causes a memory leak. The memory leak was trivial to
trigger in Redis Sentinel, which uses hiredis, every time we tried to
subscribe to an instance that required a password, in case the Sentinel
was configured either with the wrong password or without password at
all. In this case, the -AUTH error caused the leaking code path to be
executed.

It was verified with Valgrind that after this change the leak no longer
happens in Sentinel with a misconfigured authentication password.
2015-04-28 22:10:23 +02:00
..
hiredis Fix Sentinel memory leak (hiredis bug) 2015-04-28 22:10:23 +02:00
jemalloc Jemalloc updated to 3.6.0. 2014-06-20 14:59:20 +02:00
linenoise Linenoise README updated to match source code. 2014-10-06 09:49:44 +02:00
lua Lua cmsgpack lib updated to latest version. 2014-12-12 22:56:33 +01:00
Makefile Set optional 'static' for Quicklist+Redis 2015-01-02 11:16:10 -05:00
update-jemalloc.sh Jemalloc update script added. 2014-06-20 14:53:57 +02:00