- 14 Feb, 2022 1 commit
-
-
michael-grunder authored
Reapply this commit on top of hiredis as a local change. Previosuly it was pulled from a private hiredis branch, which resulted with it going away on subtree pull.
-
- 12 Oct, 2021 1 commit
-
-
Yossi Gottlieb authored
Cherry pick a more complete fix to 0215324a that also doesn't leak memory from latest hiredis.
-
- 04 Oct, 2021 1 commit
-
-
Oran Agra authored
The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. Co-authored-by:
Yossi Gottlieb <yossigo@gmail.com>
-
- 30 Sep, 2021 1 commit
-
-
Yunier Pérez authored
While the original issue was on Linux, this should work for other platforms as well.
-
- 22 Dec, 2020 1 commit
-
-
sundb authored
* Fix some redundancy use of semicolon in do-while macros
-
- 13 Dec, 2020 1 commit
-
-
Yossi Gottlieb authored
This is a backport of redis/hiredis@b9b9f44. Co-authored-by:
michael-grunder <michael.grunder@gmail.com>
-
- 06 Aug, 2020 1 commit
-
-
michael-grunder authored
-
- 07 Oct, 2019 1 commit
-
-
Yossi Gottlieb authored
* Introduce a connection abstraction layer for all socket operations and integrate it across the code base. * Provide an optional TLS connections implementation based on OpenSSL. * Pull a newer version of hiredis with TLS support. * Tests, redis-cli updates for TLS support.
-
- 23 Sep, 2019 1 commit
-
-
antirez authored
-
- 20 Sep, 2019 1 commit
-
-
antirez authored
-
- 08 May, 2019 1 commit
-
-
Angus Pearson authored
-
- 09 Jan, 2019 9 commits
- 25 May, 2018 1 commit
-
-
antirez authored
Close #4947.
-
- 21 Dec, 2016 1 commit
-
-
antirez authored
Close #3687.
-
- 17 Nov, 2015 1 commit
-
-
antirez authored
Redis-cli handles the debugger "eval" command in a special way since sdssplitargs() would not be ok: we need to send the Redis debugger the whole Lua script without any parsing. However in order to later free the argument vector inside redis-cli using just sdsfreesplitres(), we need to allocate the array of SDS pointers using the same allocator SDS is using, that may differ to what Redis is using. So now a newer version of SDS exports sds_malloc() and other allocator functions to give access, to the program it is linked to, the allocator used internally by SDS.
-
- 25 Jul, 2015 1 commit
-
-
antirez authored
-
- 28 Apr, 2015 1 commit
-
-
antirez authored
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.
-
- 29 Sep, 2014 1 commit
-
-
Aaron Rutkovsky authored
Closes #1513
-
- 18 Sep, 2014 1 commit
-
-
Matt Stancliff authored
Fixed in Redis by 1a5e5b6b, but since that part of code is largely copy/paste from Redis, the fix needs to be ported over too. Closes #2012
-
- 26 Aug, 2014 1 commit
-
-
antirez authored
-
- 25 Aug, 2014 1 commit
-
-
Mariano Pérez Rodríguez authored
Companion for 8eeb1802, but dealing with hiredis.
-
- 13 Aug, 2014 1 commit
-
-
antirez authored
This raises the max string to 4GB without any downside.
-
- 07 Aug, 2014 1 commit
-
-
siahl authored
Closes #1900
-
- 23 Jun, 2014 4 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
-
Matt Stancliff authored
This is hiredis f225c276be7fd0646019b51023e3f41566633dfe This update includes all changes that diverged inside of Redis since the last update. This version also allows optional source address binding for connections which we need for some Sentinel deployments.
-
- 12 Aug, 2013 1 commit
-
-
antirez authored
-
- 25 Jul, 2013 1 commit
-
-
antirez authored
-
- 11 Jul, 2013 1 commit
-
-
antirez authored
-
- 17 Dec, 2012 1 commit
-
-
antirez authored
-
- 12 Dec, 2012 1 commit
-
-
Patrick TJ McPhee authored
-