- 18 Nov, 2021 2 commits
-
-
Björn Svensson authored
-
Björn Svensson authored
A warning in `redisLibevTimeout(..)` is triggered when building the libev adapter with Clang using -Wextra/-Wunused-parameter. Works fine with gcc..
-
- 21 Oct, 2021 1 commit
-
-
Bjorn Svensson authored
* Exclude includes from /usr in coverage reporting * Correct build target `coverage` for enabled ssl `USE_SSL=1 make coverage` will now build the test binary with the forwarded define HIREDIS_TEST_SSL. This avoids inconsistency between built test binary and the testrunner `test.sh`. This enables test coverage measurements for SSL too.
-
- 20 Oct, 2021 1 commit
-
-
Björn Svensson authored
-
- 14 Oct, 2021 1 commit
-
-
michael-grunder authored
-
- 12 Oct, 2021 3 commits
-
-
michael-grunder authored
I'm sure this can be done with a container matrix but figuring that out is left for another day.
-
michael-grunder authored
-
michael-grunder authored
-
- 10 Oct, 2021 4 commits
-
-
michael-grunder authored
See: #992 TODO: MinGW/cygwin tests
-
michael-grunder authored
Since TravisCI.org was deprecated we've been without any tests. This commit adds back basic tests in Ubuntu, CentOS, and MacOS. More sophisticated tests/platforms to come in the future (e.g. 32bit tests). See: #992
-
michael-grunder authored
-
michael-grunder authored
Since `hi_calloc` always passes through one of our wrapper functions, we can perform this overflow in the wrapper, and get protection everywhere. Previous commit: 76a7b100 Related vuln ID: CVE-2021-32765 [Full Details](https://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2)
-
- 09 Oct, 2021 1 commit
-
-
Tongliang Liao authored
Or it'll be treated as part of the var name.
-
- 07 Oct, 2021 3 commits
-
-
michael-grunder authored
-
michael-grunder authored
-
michael-grunder authored
-
- 04 Oct, 2021 3 commits
-
-
michael-grunder authored
Merge the v1.0.1 release branch and bump the dev version to 1.0.2-dev
-
michael-grunder authored
-
Yossi Gottlieb authored
This fix prevents hiredis from trying to allocate more than `SIZE_MAX` bytes, which would result in a buffer overrun. [Full Details](https://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2)
-
- 03 Oct, 2021 1 commit
-
-
Yunier Perez authored
-
- 19 Aug, 2021 1 commit
-
-
rouzier authored
Co-authored-by:
James Rouzier <jrouzier@inverse.ca>
-
- 11 Jul, 2021 1 commit
-
-
Meir Shpilraien (Spielrein) authored
When set hiredis will not automatically free replies in an async context, and the replies must be freed instead by the user. Co-authored-by:
Michael Grunder <michael.grunder@gmail.com>
-
- 17 Jun, 2021 1 commit
-
-
michael-grunder authored
-
- 23 May, 2021 1 commit
-
-
michael-grunder authored
Closes #929
-
- 02 May, 2021 3 commits
-
-
Michael Grunder authored
Bugfix: Ignore timeout callback from a successful connect (fixes #945)
-
Michael Grunder authored
improve SSL leak fix redis/hiredis#896
-
Michael Grunder authored
fix(docs): corrects typos in project README
-
- 24 Apr, 2021 1 commit
-
-
plan-do-break-fix authored
-
- 11 Apr, 2021 1 commit
-
-
Hans Zandbelt authored
Free SSL object when redisSSLConnect fails but avoid doing that for callers of redisInitiateSSL who are supposed to manager their own SSL object. Signed-off-by:
Hans Zandbelt <hans.zandbelt@zmartzone.eu>
-
- 08 Apr, 2021 1 commit
-
-
Kristján Valur Jónsson authored
-
- 02 Apr, 2021 2 commits
-
-
michael-grunder authored
Since redisGetReplyFromReader is exposed in a header file, we probably shouldn't modify how it behaves in any way. For this reason, handle the changed logic in an internal static helper method.
-
michael-grunder authored
RESP3 invalidation messages always seemed to be sent before the response to a given command, but it appears this is not always the case: In Redis 6.2.0RC1 Redis sends the invalidation after the HSET in the following sequence: ``` hget hash field $5 value hset hash field value :0 >2 $10 invalidate *1 $4 hash ``` To account for this possibility just wrap redisGetReplyFromReader in a loop as it is called twice in redisGetReply.
-
- 26 Feb, 2021 8 commits
-
-
michael-grunder authored
Updates and improvements to the RESP3 protocol reader. * Fix the unset len field when creating RESP3 double objects * Fix RESP3 double infinity parsing * Add additional validations when parsing various reply types * Fix the parent type assertions in certain default reply object creation callbacks (mostly to include PUSH as a parent). * Additional reader test cases * Implement RESP3 BIGNUM support * Refactor seekNewline() to use memchr()
-
michael-grunder authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
This ensures that malformed RESP3 double messages that include an invalid null byte are not parsed as valid.
-
Alex Smith authored
Per RESP3, push messages are able to contain exactly what array messages can contain (that is, any other type).
-